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