pub struct Sub<ComponentId, UserEvent>(/* private fields */)
where
ComponentId: Eq + PartialEq + Clone + Hash,
UserEvent: Eq + PartialEq + Clone + PartialOrd;
Expand description
Public type to define a subscription.
Implementations§
Auto Trait Implementations§
impl<ComponentId, UserEvent> RefUnwindSafe for Sub<ComponentId, UserEvent>where
ComponentId: RefUnwindSafe,
UserEvent: RefUnwindSafe,
impl<ComponentId, UserEvent> Send for Sub<ComponentId, UserEvent>
impl<ComponentId, UserEvent> Sync for Sub<ComponentId, UserEvent>
impl<ComponentId, UserEvent> Unpin for Sub<ComponentId, UserEvent>
impl<ComponentId, UserEvent> UnwindSafe for Sub<ComponentId, UserEvent>where
ComponentId: UnwindSafe,
UserEvent: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more