pub struct EventLite<T>(/* private fields */);
Implementations§
Source§impl<T> EventLite<T>
impl<T> EventLite<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 EventLite<T>
impl<T> RefUnwindSafe for EventLite<T>where
T: RefUnwindSafe,
impl<T> !Send for EventLite<T>
impl<T> !Sync for EventLite<T>
impl<T> Unpin for EventLite<T>
impl<T> UnwindSafe for EventLite<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