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