#[repr(u32)]pub enum VendorGoogleProductId {
Show 14 variants
FocaltechTouchscreen = 65_537,
AmsLightSensor = 65_538,
PcPs2Keyboard = 65_539,
PcPs2Mouse = 65_540,
AdcButtons = 65_541,
GoodixTouchscreen = 65_542,
HidButtons = 65_543,
VirtioMouse = 65_544,
VirtioKeyboard = 65_545,
VirtioTouchscreen = 65_546,
GoldfishAccelerationSensor = 2_417_819_649,
GoldfishGyroscopeSensor = 2_417_819_650,
GoldfishRgbcLightSensor = 2_417_819_651,
UnknownOrdinal_(u32),
}Expand description
Below are ProductIds which represents which product this Input device represents. If the Input device is a HID device, the ProductId maps directly to the HID ProductId. If the Input device is not a HID device, then the ProductId will be greater than 0xFFFF, which is the max HID ProductId.
Variants§
FocaltechTouchscreen = 65_537
AmsLightSensor = 65_538
PcPs2Keyboard = 65_539
PcPs2Mouse = 65_540
AdcButtons = 65_541
GoodixTouchscreen = 65_542
HidButtons = 65_543
VirtioMouse = 65_544
VirtioKeyboard = 65_545
VirtioTouchscreen = 65_546
GoldfishAccelerationSensor = 2_417_819_649
GoldfishGyroscopeSensor = 2_417_819_650
GoldfishRgbcLightSensor = 2_417_819_651
UnknownOrdinal_(u32)
Trait Implementations§
Source§impl Clone for VendorGoogleProductId
impl Clone for VendorGoogleProductId
Source§fn clone(&self) -> VendorGoogleProductId
fn clone(&self) -> VendorGoogleProductId
Returns a duplicate 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 VendorGoogleProductId
impl Debug for VendorGoogleProductId
Source§impl<'a, ___E> Encode<VendorGoogleProductId, ___E> for &'a VendorGoogleProductIdwhere
___E: ?Sized,
impl<'a, ___E> Encode<VendorGoogleProductId, ___E> for &'a VendorGoogleProductIdwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<VendorGoogleProductId>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<VendorGoogleProductId>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<VendorGoogleProductId, ___E> for VendorGoogleProductIdwhere
___E: ?Sized,
impl<___E> Encode<VendorGoogleProductId, ___E> for VendorGoogleProductIdwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<VendorGoogleProductId>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<VendorGoogleProductId>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<VendorGoogleProductId> for VendorGoogleProductId
impl From<VendorGoogleProductId> for VendorGoogleProductId
Source§fn from(wire: VendorGoogleProductId) -> VendorGoogleProductId
fn from(wire: VendorGoogleProductId) -> VendorGoogleProductId
Converts to this type from the input type.
Source§impl From<VendorGoogleProductId> for VendorGoogleProductId
impl From<VendorGoogleProductId> for VendorGoogleProductId
Source§fn from(natural: VendorGoogleProductId) -> VendorGoogleProductId
fn from(natural: VendorGoogleProductId) -> VendorGoogleProductId
Converts to this type from the input type.
Source§impl From<u32> for VendorGoogleProductId
impl From<u32> for VendorGoogleProductId
Source§fn from(value: u32) -> VendorGoogleProductId
fn from(value: u32) -> VendorGoogleProductId
Converts to this type from the input type.
Source§impl FromWire<VendorGoogleProductId> for VendorGoogleProductId
impl FromWire<VendorGoogleProductId> for VendorGoogleProductId
Source§fn from_wire(wire: VendorGoogleProductId) -> VendorGoogleProductId
fn from_wire(wire: VendorGoogleProductId) -> VendorGoogleProductId
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<VendorGoogleProductId> for VendorGoogleProductId
impl FromWireRef<VendorGoogleProductId> for VendorGoogleProductId
Source§fn from_wire_ref(wire: &VendorGoogleProductId) -> VendorGoogleProductId
fn from_wire_ref(wire: &VendorGoogleProductId) -> VendorGoogleProductId
Converts the given reference to this type.
Source§impl Hash for VendorGoogleProductId
impl Hash for VendorGoogleProductId
Source§impl Ord for VendorGoogleProductId
impl Ord for VendorGoogleProductId
Source§fn cmp(&self, other: &VendorGoogleProductId) -> Ordering
fn cmp(&self, other: &VendorGoogleProductId) -> 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 VendorGoogleProductId
impl PartialEq for VendorGoogleProductId
Source§impl PartialOrd for VendorGoogleProductId
impl PartialOrd for VendorGoogleProductId
impl Copy for VendorGoogleProductId
impl Eq for VendorGoogleProductId
impl StructuralPartialEq for VendorGoogleProductId
Auto Trait Implementations§
impl Freeze for VendorGoogleProductId
impl RefUnwindSafe for VendorGoogleProductId
impl Send for VendorGoogleProductId
impl Sync for VendorGoogleProductId
impl Unpin for VendorGoogleProductId
impl UnsafeUnpin for VendorGoogleProductId
impl UnwindSafe for VendorGoogleProductId
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]