Struct freya_elements::elements::PlatformEventData
source · pub struct PlatformEventData { /* private fields */ }
Expand description
A platform specific event.
Implementations§
Trait Implementations§
source§impl From<&PlatformEventData> for KeyboardData
impl From<&PlatformEventData> for KeyboardData
source§fn from(val: &PlatformEventData) -> Self
fn from(val: &PlatformEventData) -> Self
Converts to this type from the input type.
source§impl From<&PlatformEventData> for MouseData
impl From<&PlatformEventData> for MouseData
source§fn from(val: &PlatformEventData) -> Self
fn from(val: &PlatformEventData) -> Self
Converts to this type from the input type.
source§impl From<&PlatformEventData> for PointerData
impl From<&PlatformEventData> for PointerData
source§fn from(val: &PlatformEventData) -> Self
fn from(val: &PlatformEventData) -> Self
Converts to this type from the input type.
source§impl From<&PlatformEventData> for TouchData
impl From<&PlatformEventData> for TouchData
source§fn from(val: &PlatformEventData) -> Self
fn from(val: &PlatformEventData) -> Self
Converts to this type from the input type.
source§impl From<&PlatformEventData> for WheelData
impl From<&PlatformEventData> for WheelData
source§fn from(val: &PlatformEventData) -> Self
fn from(val: &PlatformEventData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PlatformEventData
impl !Send for PlatformEventData
impl !Sync for PlatformEventData
impl Unpin for PlatformEventData
impl !UnwindSafe for PlatformEventData
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.