pub struct VendorGoogleProductId { /* private fields */ }Expand description
The wire type corresponding to VendorGoogleProductId.
Implementations§
Source§impl VendorGoogleProductId
impl VendorGoogleProductId
pub const FOCALTECH_TOUCHSCREEN: VendorGoogleProductId
pub const AMS_LIGHT_SENSOR: VendorGoogleProductId
pub const PC_PS2_KEYBOARD: VendorGoogleProductId
pub const PC_PS2_MOUSE: VendorGoogleProductId
pub const ADC_BUTTONS: VendorGoogleProductId
pub const GOODIX_TOUCHSCREEN: VendorGoogleProductId
pub const HID_BUTTONS: VendorGoogleProductId
pub const VIRTIO_MOUSE: VendorGoogleProductId
pub const VIRTIO_KEYBOARD: VendorGoogleProductId
pub const VIRTIO_TOUCHSCREEN: VendorGoogleProductId
pub const GOLDFISH_ACCELERATION_SENSOR: VendorGoogleProductId
pub const GOLDFISH_GYROSCOPE_SENSOR: VendorGoogleProductId
pub const GOLDFISH_RGBC_LIGHT_SENSOR: VendorGoogleProductId
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 Constrained for VendorGoogleProductId
impl Constrained for VendorGoogleProductId
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, VendorGoogleProductId>,
_: <VendorGoogleProductId as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, VendorGoogleProductId>, _: <VendorGoogleProductId as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl Debug for VendorGoogleProductId
impl Debug for VendorGoogleProductId
Source§impl<___D> Decode<___D> for VendorGoogleProductIdwhere
___D: ?Sized,
impl<___D> Decode<___D> for VendorGoogleProductIdwhere
___D: ?Sized,
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 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 IntoNatural for VendorGoogleProductId
impl IntoNatural for VendorGoogleProductId
Source§type Natural = VendorGoogleProductId
type Natural = VendorGoogleProductId
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl PartialEq for VendorGoogleProductId
impl PartialEq for VendorGoogleProductId
Source§impl Wire for VendorGoogleProductId
impl Wire for VendorGoogleProductId
Source§type Narrowed<'de> = VendorGoogleProductId
type Narrowed<'de> = VendorGoogleProductId
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<VendorGoogleProductId>)
fn zero_padding(_: &mut MaybeUninit<VendorGoogleProductId>)
Writes zeroes to the padding for this type, if any.
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> 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]