pub struct Subject<T> { /* private fields */ }
Expand description
Stores the observers for a particular event
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Subject<T>
impl<T> RefUnwindSafe for Subject<T>
impl<T> Send for Subject<T>
impl<T> Sync for Subject<T>
impl<T> Unpin for Subject<T>
impl<T> UnwindSafe for Subject<T>
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