pub struct WindowEventWrapper(pub Option<WindowEvent>);
Tuple Fields§
§0: Option<WindowEvent>
Trait Implementations§
Source§impl<'a> From<&WindowEvent<'a>> for WindowEventWrapper
impl<'a> From<&WindowEvent<'a>> for WindowEventWrapper
Source§fn from(event: &TaoWindowEvent<'a>) -> Self
fn from(event: &TaoWindowEvent<'a>) -> Self
Converts to this type from the input type.
Source§impl From<SynthesizedWindowEvent> for WindowEventWrapper
impl From<SynthesizedWindowEvent> for WindowEventWrapper
Source§fn from(event: SynthesizedWindowEvent) -> Self
fn from(event: SynthesizedWindowEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowEventWrapper
impl RefUnwindSafe for WindowEventWrapper
impl Send for WindowEventWrapper
impl Sync for WindowEventWrapper
impl Unpin for WindowEventWrapper
impl UnwindSafe for WindowEventWrapper
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