#[repr(u32)]pub enum TouchType {
Touchscreen = 1,
Touchpad = 2,
UnknownOrdinal_(u32),
}Expand description
The device type from which the touch originated.
Variants§
Trait Implementations§
Source§impl<'a, ___E> Encode<TouchType, ___E> for &'a TouchTypewhere
___E: ?Sized,
impl<'a, ___E> Encode<TouchType, ___E> for &'a TouchTypewhere
___E: ?Sized,
Source§impl<___E> Encode<TouchType, ___E> for TouchTypewhere
___E: ?Sized,
impl<___E> Encode<TouchType, ___E> for TouchTypewhere
___E: ?Sized,
Source§impl FromWireRef<TouchType> for TouchType
impl FromWireRef<TouchType> for TouchType
Source§fn from_wire_ref(wire: &TouchType) -> TouchType
fn from_wire_ref(wire: &TouchType) -> TouchType
Converts the given reference to this type.
Source§impl Ord for TouchType
impl Ord for TouchType
Source§impl PartialOrd for TouchType
impl PartialOrd for TouchType
impl Copy for TouchType
impl Eq for TouchType
impl StructuralPartialEq for TouchType
Auto Trait Implementations§
impl Freeze for TouchType
impl RefUnwindSafe for TouchType
impl Send for TouchType
impl Sync for TouchType
impl Unpin for TouchType
impl UnsafeUnpin for TouchType
impl UnwindSafe for TouchType
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,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]