pub enum UIInputAction {
Cancel,
Down,
Move,
Up,
}Variants§
Implementations§
Source§impl UIInputAction
impl UIInputAction
pub fn try_from_raw(attr: UI_TOUCH_EVENT_ACTION) -> Option<Self>
Trait Implementations§
Source§impl Clone for UIInputAction
impl Clone for UIInputAction
Source§fn clone(&self) -> UIInputAction
fn clone(&self) -> UIInputAction
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 UIInputAction
impl Debug for UIInputAction
Source§impl From<UIInputAction> for i32
impl From<UIInputAction> for i32
Source§fn from(attr: UIInputAction) -> Self
fn from(attr: UIInputAction) -> Self
Converts to this type from the input type.
Source§impl From<UIInputAction> for UI_TOUCH_EVENT_ACTION
impl From<UIInputAction> for UI_TOUCH_EVENT_ACTION
Source§fn from(attr: UIInputAction) -> Self
fn from(attr: UIInputAction) -> Self
Converts to this type from the input type.
Source§impl From<i32> for UIInputAction
impl From<i32> for UIInputAction
Source§impl From<u32> for UIInputAction
impl From<u32> for UIInputAction
Source§fn from(attr: UI_TOUCH_EVENT_ACTION) -> Self
fn from(attr: UI_TOUCH_EVENT_ACTION) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UIInputAction
impl PartialEq for UIInputAction
Source§fn eq(&self, other: &UIInputAction) -> bool
fn eq(&self, other: &UIInputAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UIInputAction
impl Eq for UIInputAction
impl StructuralPartialEq for UIInputAction
Auto Trait Implementations§
impl Freeze for UIInputAction
impl RefUnwindSafe for UIInputAction
impl Send for UIInputAction
impl Sync for UIInputAction
impl Unpin for UIInputAction
impl UnsafeUnpin for UIInputAction
impl UnwindSafe for UIInputAction
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