#[repr(C)]pub struct DebugRef {}
Expand description
A reference to the environment’s debug capabilities.
Trait Implementations§
Source§impl Encodable for DebugRef
impl Encodable for DebugRef
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 = WireDebugRef
type Encoded = WireDebugRef
The wire type for the value.
Source§impl EncodableOption for Box<DebugRef>
impl EncodableOption for Box<DebugRef>
Source§type EncodedOption = WireBox<WireDebugRef>
type EncodedOption = WireBox<WireDebugRef>
The wire type for the optional value.
Source§impl<___E> EncodeOption<___E> for Box<DebugRef>
impl<___E> EncodeOption<___E> for Box<DebugRef>
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<WireDebugRef> for DebugRef
impl TakeFrom<WireDebugRef> for DebugRef
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: &WireDebugRef) -> Self
fn take_from(from: &WireDebugRef) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Auto Trait Implementations§
impl Freeze for DebugRef
impl RefUnwindSafe for DebugRef
impl Send for DebugRef
impl Sync for DebugRef
impl Unpin for DebugRef
impl UnwindSafe for DebugRef
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