pub enum UIInputEvent {
Unknown,
Touch,
Axis,
Mouse,
}Variants§
Implementations§
Source§impl UIInputEvent
impl UIInputEvent
pub fn try_from_raw(attr: ArkUI_UIInputEvent_Type) -> Option<Self>
Trait Implementations§
Source§impl Clone for UIInputEvent
impl Clone for UIInputEvent
Source§fn clone(&self) -> UIInputEvent
fn clone(&self) -> UIInputEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UIInputEvent
impl Debug for UIInputEvent
Source§impl From<UIInputEvent> for ArkUI_UIInputEvent_Type
impl From<UIInputEvent> for ArkUI_UIInputEvent_Type
Source§fn from(attr: UIInputEvent) -> Self
fn from(attr: UIInputEvent) -> Self
Converts to this type from the input type.
Source§impl From<u32> for UIInputEvent
impl From<u32> for UIInputEvent
Source§fn from(attr: ArkUI_UIInputEvent_Type) -> Self
fn from(attr: ArkUI_UIInputEvent_Type) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UIInputEvent
impl PartialEq for UIInputEvent
Source§fn eq(&self, other: &UIInputEvent) -> bool
fn eq(&self, other: &UIInputEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UIInputEvent
impl Eq for UIInputEvent
impl StructuralPartialEq for UIInputEvent
Auto Trait Implementations§
impl Freeze for UIInputEvent
impl RefUnwindSafe for UIInputEvent
impl Send for UIInputEvent
impl Sync for UIInputEvent
impl Unpin for UIInputEvent
impl UnsafeUnpin for UIInputEvent
impl UnwindSafe for UIInputEvent
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