pub struct PlatformEventData { /* private fields */ }Available on crate feature
prelude only.Expand description
A platform specific event.
Implementations§
Trait Implementations§
Source§impl From<&PlatformEventData> for AnimationData
impl From<&PlatformEventData> for AnimationData
Source§fn from(val: &PlatformEventData) -> AnimationData
fn from(val: &PlatformEventData) -> AnimationData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for CancelData
impl From<&PlatformEventData> for CancelData
Source§fn from(val: &PlatformEventData) -> CancelData
fn from(val: &PlatformEventData) -> CancelData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for ClipboardData
impl From<&PlatformEventData> for ClipboardData
Source§fn from(val: &PlatformEventData) -> ClipboardData
fn from(val: &PlatformEventData) -> ClipboardData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for CompositionData
impl From<&PlatformEventData> for CompositionData
Source§fn from(val: &PlatformEventData) -> CompositionData
fn from(val: &PlatformEventData) -> CompositionData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for DragData
impl From<&PlatformEventData> for DragData
Source§fn from(val: &PlatformEventData) -> DragData
fn from(val: &PlatformEventData) -> DragData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for FocusData
impl From<&PlatformEventData> for FocusData
Source§fn from(val: &PlatformEventData) -> FocusData
fn from(val: &PlatformEventData) -> FocusData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for FormData
impl From<&PlatformEventData> for FormData
Source§fn from(val: &PlatformEventData) -> FormData
fn from(val: &PlatformEventData) -> FormData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for ImageData
impl From<&PlatformEventData> for ImageData
Source§fn from(val: &PlatformEventData) -> ImageData
fn from(val: &PlatformEventData) -> ImageData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for KeyboardData
impl From<&PlatformEventData> for KeyboardData
Source§fn from(val: &PlatformEventData) -> KeyboardData
fn from(val: &PlatformEventData) -> KeyboardData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for MediaData
impl From<&PlatformEventData> for MediaData
Source§fn from(val: &PlatformEventData) -> MediaData
fn from(val: &PlatformEventData) -> MediaData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for MountedData
impl From<&PlatformEventData> for MountedData
Source§fn from(val: &PlatformEventData) -> MountedData
fn from(val: &PlatformEventData) -> MountedData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for MouseData
impl From<&PlatformEventData> for MouseData
Source§fn from(val: &PlatformEventData) -> MouseData
fn from(val: &PlatformEventData) -> MouseData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for PointerData
impl From<&PlatformEventData> for PointerData
Source§fn from(val: &PlatformEventData) -> PointerData
fn from(val: &PlatformEventData) -> PointerData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for ResizeData
impl From<&PlatformEventData> for ResizeData
Source§fn from(val: &PlatformEventData) -> ResizeData
fn from(val: &PlatformEventData) -> ResizeData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for ScrollData
impl From<&PlatformEventData> for ScrollData
Source§fn from(val: &PlatformEventData) -> ScrollData
fn from(val: &PlatformEventData) -> ScrollData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for SelectionData
impl From<&PlatformEventData> for SelectionData
Source§fn from(val: &PlatformEventData) -> SelectionData
fn from(val: &PlatformEventData) -> SelectionData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for ToggleData
impl From<&PlatformEventData> for ToggleData
Source§fn from(val: &PlatformEventData) -> ToggleData
fn from(val: &PlatformEventData) -> ToggleData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for TouchData
impl From<&PlatformEventData> for TouchData
Source§fn from(val: &PlatformEventData) -> TouchData
fn from(val: &PlatformEventData) -> TouchData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for TransitionData
impl From<&PlatformEventData> for TransitionData
Source§fn from(val: &PlatformEventData) -> TransitionData
fn from(val: &PlatformEventData) -> TransitionData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for VisibleData
impl From<&PlatformEventData> for VisibleData
Source§fn from(val: &PlatformEventData) -> VisibleData
fn from(val: &PlatformEventData) -> VisibleData
Converts to this type from the input type.
Source§impl From<&PlatformEventData> for WheelData
impl From<&PlatformEventData> for WheelData
Source§fn from(val: &PlatformEventData) -> WheelData
fn from(val: &PlatformEventData) -> WheelData
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PlatformEventData
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
Source§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§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>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.