pub struct WireDriverPackageType { /* private fields */ }
Expand description
The wire type corresponding to DriverPackageType
.
Implementations§
Source§impl WireDriverPackageType
impl WireDriverPackageType
pub const BOOT: WireDriverPackageType
pub const BASE: WireDriverPackageType
pub const CACHED: WireDriverPackageType
pub const UNIVERSE: WireDriverPackageType
Trait Implementations§
Source§impl Clone for WireDriverPackageType
impl Clone for WireDriverPackageType
Source§fn clone(&self) -> WireDriverPackageType
fn clone(&self) -> WireDriverPackageType
Returns a copy 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 WireDriverPackageType
impl Debug for WireDriverPackageType
Source§impl<___D> Decode<___D> for WireDriverPackageTypewhere
___D: ?Sized,
impl<___D> Decode<___D> for WireDriverPackageTypewhere
___D: ?Sized,
Source§impl From<DriverPackageType> for WireDriverPackageType
impl From<DriverPackageType> for WireDriverPackageType
Source§fn from(natural: DriverPackageType) -> Self
fn from(natural: DriverPackageType) -> Self
Converts to this type from the input type.
Source§impl From<WireDriverPackageType> for DriverPackageType
impl From<WireDriverPackageType> for DriverPackageType
Source§fn from(wire: WireDriverPackageType) -> Self
fn from(wire: WireDriverPackageType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireDriverPackageType
impl PartialEq for WireDriverPackageType
Source§impl TakeFrom<WireDriverPackageType> for DriverPackageType
impl TakeFrom<WireDriverPackageType> for DriverPackageType
Source§fn take_from(from: &WireDriverPackageType) -> Self
fn take_from(from: &WireDriverPackageType) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WireDriverPackageType> for DriverPackageType
impl TakeFrom<WireDriverPackageType> for DriverPackageType
Source§fn take_from(from: &WireDriverPackageType) -> Self
fn take_from(from: &WireDriverPackageType) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireDriverPackageType
impl ZeroPadding for WireDriverPackageType
Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for WireDriverPackageType
impl Eq for WireDriverPackageType
impl StructuralPartialEq for WireDriverPackageType
Auto Trait Implementations§
impl Freeze for WireDriverPackageType
impl RefUnwindSafe for WireDriverPackageType
impl Send for WireDriverPackageType
impl Sync for WireDriverPackageType
impl Unpin for WireDriverPackageType
impl UnwindSafe for WireDriverPackageType
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