pub struct Event<E, T = ()> { /* private fields */ }Implementations§
Source§impl<E, T> Event<E, T>
impl<E, T> Event<E, T>
pub fn new_tagged(event: E, tag: T) -> Self
Trait Implementations§
Source§impl<A, E, T> MessageFor<A> for Event<E, T>
impl<A, E, T> MessageFor<A> for Event<E, T>
Auto Trait Implementations§
impl<E, T> Freeze for Event<E, T>
impl<E, T> RefUnwindSafe for Event<E, T>where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<E, T> Send for Event<E, T>
impl<E, T> Sync for Event<E, T>
impl<E, T> Unpin for Event<E, T>
impl<E, T> UnwindSafe for Event<E, T>where
E: UnwindSafe,
T: 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