#[repr(C)]pub struct VoidRef {}
Expand description
A reference to an intentionally missing offer source.
Trait Implementations§
Source§impl Encodable for VoidRef
impl Encodable for VoidRef
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
encoding instead of calling
encode
. Read moreSource§type Encoded = WireVoidRef
type Encoded = WireVoidRef
The wire type for the value.
Source§impl EncodableOption for Box<VoidRef>
impl EncodableOption for Box<VoidRef>
Source§type EncodedOption = WireBox<WireVoidRef>
type EncodedOption = WireBox<WireVoidRef>
The wire type for the optional value.
Source§impl<___E> EncodeOption<___E> for Box<VoidRef>
impl<___E> EncodeOption<___E> for Box<VoidRef>
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireVoidRef> for VoidRef
impl TakeFrom<WireVoidRef> for VoidRef
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: &WireVoidRef) -> Self
fn take_from(from: &WireVoidRef) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Auto Trait Implementations§
impl Freeze for VoidRef
impl RefUnwindSafe for VoidRef
impl Send for VoidRef
impl Sync for VoidRef
impl Unpin for VoidRef
impl UnwindSafe for VoidRef
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