pub struct TouchDeviceInfo {
pub id: Option<u32>,
}Expand description
Information about a device that issues touch event streams.
Fields§
§id: Option<u32>Trait Implementations§
Source§impl Clone for TouchDeviceInfo
impl Clone for TouchDeviceInfo
Source§fn clone(&self) -> TouchDeviceInfo
fn clone(&self) -> TouchDeviceInfo
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 moreimpl Copy for TouchDeviceInfo
Source§impl Debug for TouchDeviceInfo
impl Debug for TouchDeviceInfo
Source§impl Default for TouchDeviceInfo
impl Default for TouchDeviceInfo
Source§fn default() -> TouchDeviceInfo
fn default() -> TouchDeviceInfo
Returns the “default value” for a type. Read more
Source§impl<___E> Encode<TouchDeviceInfo<'static>, ___E> for TouchDeviceInfowhere
___E: Encoder + ?Sized,
impl<___E> Encode<TouchDeviceInfo<'static>, ___E> for TouchDeviceInfowhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<TouchDeviceInfo<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<TouchDeviceInfo<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> Encode<TouchDeviceInfo<'static>, ___E> for &'a TouchDeviceInfowhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<TouchDeviceInfo<'static>, ___E> for &'a TouchDeviceInfowhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<TouchDeviceInfo<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<TouchDeviceInfo<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
impl Eq for TouchDeviceInfo
Source§impl<'de> FromWire<TouchDeviceInfo<'de>> for TouchDeviceInfo
impl<'de> FromWire<TouchDeviceInfo<'de>> for TouchDeviceInfo
Source§fn from_wire(wire_: TouchDeviceInfo<'de>) -> TouchDeviceInfo
fn from_wire(wire_: TouchDeviceInfo<'de>) -> TouchDeviceInfo
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<TouchDeviceInfo<'de>> for TouchDeviceInfo
impl<'de> FromWireRef<TouchDeviceInfo<'de>> for TouchDeviceInfo
Source§fn from_wire_ref(wire: &TouchDeviceInfo<'de>) -> TouchDeviceInfo
fn from_wire_ref(wire: &TouchDeviceInfo<'de>) -> TouchDeviceInfo
Converts the given reference to this type.
Source§impl Hash for TouchDeviceInfo
impl Hash for TouchDeviceInfo
Source§impl Ord for TouchDeviceInfo
impl Ord for TouchDeviceInfo
Source§fn cmp(&self, other: &TouchDeviceInfo) -> Ordering
fn cmp(&self, other: &TouchDeviceInfo) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TouchDeviceInfo
impl PartialEq for TouchDeviceInfo
Source§impl PartialOrd for TouchDeviceInfo
impl PartialOrd for TouchDeviceInfo
impl StructuralPartialEq for TouchDeviceInfo
Auto Trait Implementations§
impl Freeze for TouchDeviceInfo
impl RefUnwindSafe for TouchDeviceInfo
impl Send for TouchDeviceInfo
impl Sync for TouchDeviceInfo
impl Unpin for TouchDeviceInfo
impl UnsafeUnpin for TouchDeviceInfo
impl UnwindSafe for TouchDeviceInfo
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]