#[repr(C)]pub struct WireEmptyStruct {}
Expand description
The wire type corresponding to EmptyStruct
.
Trait Implementations§
Source§impl Clone for WireEmptyStruct
impl Clone for WireEmptyStruct
Source§fn clone(&self) -> WireEmptyStruct
fn clone(&self) -> WireEmptyStruct
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 WireEmptyStruct
impl Debug for WireEmptyStruct
Source§impl<___D> Decode<___D> for WireEmptyStructwhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for WireEmptyStructwhere
___D: InternalHandleDecoder + ?Sized,
Source§impl TakeFrom<WireEmptyStruct> for EmptyStruct
impl TakeFrom<WireEmptyStruct> for EmptyStruct
Source§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§fn take_from(from: &WireEmptyStruct) -> Self
fn take_from(from: &WireEmptyStruct) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Source§impl TakeFrom<WireEmptyStruct> for EmptyStruct
impl TakeFrom<WireEmptyStruct> for EmptyStruct
Source§fn take_from(from: &WireEmptyStruct) -> Self
fn take_from(from: &WireEmptyStruct) -> 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 WireEmptyStruct
impl ZeroPadding for WireEmptyStruct
Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireEmptyStruct
impl RefUnwindSafe for WireEmptyStruct
impl Send for WireEmptyStruct
impl Sync for WireEmptyStruct
impl Unpin for WireEmptyStruct
impl UnwindSafe for WireEmptyStruct
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