pub struct EventRegistration(/* private fields */);Expand description
An event subscription that unsubscribes when dropped.
Implementations§
Trait Implementations§
Source§impl Drop for EventRegistration
impl Drop for EventRegistration
Auto Trait Implementations§
impl !RefUnwindSafe for EventRegistration
impl !Send for EventRegistration
impl !Sync for EventRegistration
impl !UnwindSafe for EventRegistration
impl Freeze for EventRegistration
impl Unpin for EventRegistration
impl UnsafeUnpin for EventRegistration
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