#[repr(u32)]pub enum VendorId {
Google = 6_353,
UnknownOrdinal_(u32),
}Expand description
The VendorId represents the vendor that created this Input device. If the Input device is a HID device, the VendorId maps directly to the HID VendorId. If the Input device is not a HID device, then the VendorId will be greater than 0xFFFF, which is the max HID VendorId.
Variants§
Trait Implementations§
Source§impl<'a, ___E> Encode<VendorId, ___E> for &'a VendorIdwhere
___E: ?Sized,
impl<'a, ___E> Encode<VendorId, ___E> for &'a VendorIdwhere
___E: ?Sized,
Source§impl<___E> Encode<VendorId, ___E> for VendorIdwhere
___E: ?Sized,
impl<___E> Encode<VendorId, ___E> for VendorIdwhere
___E: ?Sized,
Source§impl FromWireRef<VendorId> for VendorId
impl FromWireRef<VendorId> for VendorId
Source§fn from_wire_ref(wire: &VendorId) -> VendorId
fn from_wire_ref(wire: &VendorId) -> VendorId
Converts the given reference to this type.
Source§impl Ord for VendorId
impl Ord for VendorId
Source§impl PartialOrd for VendorId
impl PartialOrd for VendorId
impl Copy for VendorId
impl Eq for VendorId
impl StructuralPartialEq for VendorId
Auto Trait Implementations§
impl Freeze for VendorId
impl RefUnwindSafe for VendorId
impl Send for VendorId
impl Sync for VendorId
impl Unpin for VendorId
impl UnsafeUnpin for VendorId
impl UnwindSafe for VendorId
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]