#[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 FromWire<WireEmptyStruct> for EmptyStruct
impl FromWire<WireEmptyStruct> for EmptyStruct
Source§const COPY_OPTIMIZATION: CopyOptimization<WireEmptyStruct, Self>
const COPY_OPTIMIZATION: CopyOptimization<WireEmptyStruct, Self>
Source§fn from_wire(wire: WireEmptyStruct) -> Self
fn from_wire(wire: WireEmptyStruct) -> Self
Converts the given
wire
to this type.Source§impl FromWireRef<WireEmptyStruct> for EmptyStruct
impl FromWireRef<WireEmptyStruct> for EmptyStruct
Source§fn from_wire_ref(wire: &WireEmptyStruct) -> Self
fn from_wire_ref(wire: &WireEmptyStruct) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireEmptyStruct
impl Wire for WireEmptyStruct
Source§type Decoded<'de> = WireEmptyStruct
type Decoded<'de> = WireEmptyStruct
The decoded wire type, restricted to the
'de
lifetime.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