pub enum UserData {
Owning((Box<dyn EventHandler>, Context)),
Free(Box<dyn EventHandlerFree>),
}
Variants
Owning((Box<dyn EventHandler>, Context))
Free(Box<dyn EventHandlerFree>)
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UserData
impl !Send for UserData
impl !Sync for UserData
impl Unpin for UserData
impl !UnwindSafe for UserData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more