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