#[repr(C)]pub struct WireComponent { /* private fields */ }
Expand description
The wire type corresponding to Component
.
Implementations§
Source§impl WireComponent
impl WireComponent
pub fn url(&self) -> Option<&WireString>
pub fn decl(&self) -> Option<&WireData>
pub fn package(&self) -> Option<&WirePackage>
pub fn config_values(&self) -> Option<&WireData>
pub fn resolution_context(&self) -> Option<&WireContext>
pub fn abi_revision(&self) -> Option<&WireU64>
Trait Implementations§
Source§impl Debug for WireComponent
impl Debug for WireComponent
Source§impl<___D> Decode<___D> for WireComponentwhere
___D: Decoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for WireComponentwhere
___D: Decoder + ?Sized + HandleDecoder,
Source§impl TakeFrom<WireComponent> for Component
impl TakeFrom<WireComponent> for Component
Source§fn take_from(from: &WireComponent) -> Self
fn take_from(from: &WireComponent) -> 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 TakeFrom<WireComponent> for Component
impl TakeFrom<WireComponent> for Component
Source§fn take_from(from: &WireComponent) -> Self
fn take_from(from: &WireComponent) -> 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 WireComponent
impl ZeroPadding for WireComponent
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 WireComponent
impl RefUnwindSafe for WireComponent
impl !Send for WireComponent
impl !Sync for WireComponent
impl Unpin for WireComponent
impl UnwindSafe for WireComponent
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