pub enum InputSource {
Mouse,
Pen,
Eraser,
Cursor,
Keyboard,
Touchscreen,
Touchpad,
Trackpoint,
TabletPad,
// some variants omitted
}
Variants§
Trait Implementations§
Source§impl Clone for InputSource
impl Clone for InputSource
Source§fn clone(&self) -> InputSource
fn clone(&self) -> InputSource
Returns a copy of the value. Read more
1.0.0 · 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 InputSource
impl Debug for InputSource
Source§impl Display for InputSource
impl Display for InputSource
Source§impl<'a> FromValue<'a> for InputSource
impl<'a> FromValue<'a> for InputSource
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for InputSource
impl<'a> FromValueOptional<'a> for InputSource
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Hash for InputSource
impl Hash for InputSource
Source§impl Ord for InputSource
impl Ord for InputSource
Source§fn cmp(&self, other: &InputSource) -> Ordering
fn cmp(&self, other: &InputSource) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InputSource
impl PartialEq for InputSource
Source§impl PartialOrd for InputSource
impl PartialOrd for InputSource
Source§impl StaticType for InputSource
impl StaticType for InputSource
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for InputSource
impl Eq for InputSource
impl StructuralPartialEq for InputSource
Auto Trait Implementations§
impl Freeze for InputSource
impl RefUnwindSafe for InputSource
impl Send for InputSource
impl Sync for InputSource
impl Unpin for InputSource
impl UnwindSafe for InputSource
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.