pub struct Event<T>(/* private fields */);
Implementations§
Source§impl<T> Event<T>
impl<T> Event<T>
pub fn borrow_value(&self) -> &T
pub fn try_unwrap(self) -> Result<T, Rc<T>>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Event<T>
impl<T> RefUnwindSafe for Event<T>where
T: RefUnwindSafe,
impl<T> !Send for Event<T>
impl<T> !Sync for Event<T>
impl<T> Unpin for Event<T>
impl<T> UnwindSafe for Event<T>where
T: RefUnwindSafe,
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