#[repr(C)]pub struct WireComponent { /* private fields */ }
Expand description
The wire type corresponding to Component
.
Implementations§
Source§impl WireComponent
impl WireComponent
pub fn program(&self) -> Option<&WireProgram>
pub fn uses(&self) -> Option<&WireVector<WireUse>>
pub fn exposes(&self) -> Option<&WireVector<WireExpose>>
pub fn offers(&self) -> Option<&WireVector<WireOffer>>
pub fn capabilities(&self) -> Option<&WireVector<WireCapability>>
pub fn children(&self) -> Option<&WireVector<WireChild>>
pub fn collections(&self) -> Option<&WireVector<WireCollection>>
pub fn environments(&self) -> Option<&WireVector<WireEnvironment>>
pub fn facets(&self) -> Option<&WireDictionary>
pub fn config(&self) -> Option<&WireConfigSchema>
Trait Implementations§
Source§impl Debug for WireComponent
impl Debug for WireComponent
Source§impl<___D> Decode<___D> for WireComponentwhere
___D: Decoder + ?Sized,
impl<___D> Decode<___D> for WireComponentwhere
___D: Decoder + ?Sized,
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