pub struct WireConfigTypeLayout { /* private fields */ }
Expand description
The wire type corresponding to ConfigTypeLayout
.
Implementations§
Source§impl WireConfigTypeLayout
impl WireConfigTypeLayout
pub const BOOL: WireConfigTypeLayout
pub const UINT8: WireConfigTypeLayout
pub const UINT16: WireConfigTypeLayout
pub const UINT32: WireConfigTypeLayout
pub const UINT64: WireConfigTypeLayout
pub const INT8: WireConfigTypeLayout
pub const INT16: WireConfigTypeLayout
pub const INT32: WireConfigTypeLayout
pub const INT64: WireConfigTypeLayout
pub const STRING: WireConfigTypeLayout
pub const VECTOR: WireConfigTypeLayout
Trait Implementations§
Source§impl Clone for WireConfigTypeLayout
impl Clone for WireConfigTypeLayout
Source§fn clone(&self) -> WireConfigTypeLayout
fn clone(&self) -> WireConfigTypeLayout
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 WireConfigTypeLayout
impl Debug for WireConfigTypeLayout
Source§impl<___D> Decode<___D> for WireConfigTypeLayoutwhere
___D: ?Sized,
impl<___D> Decode<___D> for WireConfigTypeLayoutwhere
___D: ?Sized,
Source§impl From<ConfigTypeLayout> for WireConfigTypeLayout
impl From<ConfigTypeLayout> for WireConfigTypeLayout
Source§fn from(natural: ConfigTypeLayout) -> Self
fn from(natural: ConfigTypeLayout) -> Self
Converts to this type from the input type.
Source§impl From<WireConfigTypeLayout> for ConfigTypeLayout
impl From<WireConfigTypeLayout> for ConfigTypeLayout
Source§fn from(wire: WireConfigTypeLayout) -> Self
fn from(wire: WireConfigTypeLayout) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireConfigTypeLayout
impl PartialEq for WireConfigTypeLayout
Source§impl TakeFrom<WireConfigTypeLayout> for ConfigTypeLayout
impl TakeFrom<WireConfigTypeLayout> for ConfigTypeLayout
Source§fn take_from(from: &WireConfigTypeLayout) -> Self
fn take_from(from: &WireConfigTypeLayout) -> 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<WireConfigTypeLayout> for ConfigTypeLayout
impl TakeFrom<WireConfigTypeLayout> for ConfigTypeLayout
Source§fn take_from(from: &WireConfigTypeLayout) -> Self
fn take_from(from: &WireConfigTypeLayout) -> 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 WireConfigTypeLayout
impl ZeroPadding for WireConfigTypeLayout
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 WireConfigTypeLayout
impl Eq for WireConfigTypeLayout
impl StructuralPartialEq for WireConfigTypeLayout
Auto Trait Implementations§
impl Freeze for WireConfigTypeLayout
impl RefUnwindSafe for WireConfigTypeLayout
impl Send for WireConfigTypeLayout
impl Sync for WireConfigTypeLayout
impl Unpin for WireConfigTypeLayout
impl UnwindSafe for WireConfigTypeLayout
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