pub struct WireAllocateMode { /* private fields */ }
Expand description
The wire type corresponding to AllocateMode
.
Trait Implementations§
Source§impl Clone for WireAllocateMode
impl Clone for WireAllocateMode
Source§fn clone(&self) -> WireAllocateMode
fn clone(&self) -> WireAllocateMode
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 WireAllocateMode
impl Debug for WireAllocateMode
Source§impl<___D> Decode<___D> for WireAllocateModewhere
___D: ?Sized,
impl<___D> Decode<___D> for WireAllocateModewhere
___D: ?Sized,
Source§impl From<AllocateMode> for WireAllocateMode
impl From<AllocateMode> for WireAllocateMode
Source§fn from(natural: AllocateMode) -> Self
fn from(natural: AllocateMode) -> Self
Converts to this type from the input type.
Source§impl From<WireAllocateMode> for AllocateMode
impl From<WireAllocateMode> for AllocateMode
Source§fn from(wire: WireAllocateMode) -> Self
fn from(wire: WireAllocateMode) -> Self
Converts to this type from the input type.
Source§impl TakeFrom<WireAllocateMode> for AllocateMode
impl TakeFrom<WireAllocateMode> for AllocateMode
Source§fn take_from(from: &WireAllocateMode) -> Self
fn take_from(from: &WireAllocateMode) -> 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<WireAllocateMode> for AllocateMode
impl TakeFrom<WireAllocateMode> for AllocateMode
Source§fn take_from(from: &WireAllocateMode) -> Self
fn take_from(from: &WireAllocateMode) -> 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 WireAllocateMode
impl ZeroPadding for WireAllocateMode
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 WireAllocateMode
Auto Trait Implementations§
impl Freeze for WireAllocateMode
impl RefUnwindSafe for WireAllocateMode
impl Send for WireAllocateMode
impl Sync for WireAllocateMode
impl Unpin for WireAllocateMode
impl UnwindSafe for WireAllocateMode
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