#[repr(C)]pub struct WireComponent<'de> { /* private fields */ }
Expand description
The wire type corresponding to Component
.
Implementations§
Source§impl<'de> WireComponent<'de>
impl<'de> WireComponent<'de>
pub fn program(&self) -> Option<&WireProgram<'de>>
pub fn uses(&self) -> Option<&WireVector<'de, WireUse<'de>>>
pub fn exposes(&self) -> Option<&WireVector<'de, WireExpose<'de>>>
pub fn offers(&self) -> Option<&WireVector<'de, WireOffer<'de>>>
pub fn capabilities(&self) -> Option<&WireVector<'de, WireCapability<'de>>>
pub fn children(&self) -> Option<&WireVector<'de, WireChild<'de>>>
pub fn collections(&self) -> Option<&WireVector<'de, WireCollection<'de>>>
pub fn environments(&self) -> Option<&WireVector<'de, WireEnvironment<'de>>>
pub fn facets(&self) -> Option<&WireDictionary<'de>>
pub fn config(&self) -> Option<&WireConfigSchema<'de>>
Trait Implementations§
Source§impl<'de> Debug for WireComponent<'de>
impl<'de> Debug for WireComponent<'de>
Source§impl<___D> Decode<___D> for WireComponent<'static>where
___D: Decoder + ?Sized,
impl<___D> Decode<___D> for WireComponent<'static>where
___D: Decoder + ?Sized,
Source§impl<'de> Drop for WireComponent<'de>
impl<'de> Drop for WireComponent<'de>
Source§impl<'de> FromWire<WireComponent<'de>> for Component
impl<'de> FromWire<WireComponent<'de>> for Component
Source§fn from_wire(wire: WireComponent<'de>) -> Self
fn from_wire(wire: WireComponent<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<WireComponent<'de>> for Component
impl<'de> FromWireRef<WireComponent<'de>> for Component
Source§fn from_wire_ref(wire: &WireComponent<'de>) -> Self
fn from_wire_ref(wire: &WireComponent<'de>) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireComponent<'static>
impl Wire for WireComponent<'static>
Source§type Decoded<'de> = WireComponent<'de>
type Decoded<'de> = WireComponent<'de>
The decoded wire type, restricted to the
'de
lifetime.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<'de> Freeze for WireComponent<'de>
impl<'de> RefUnwindSafe for WireComponent<'de>
impl<'de> !Send for WireComponent<'de>
impl<'de> !Sync for WireComponent<'de>
impl<'de> Unpin for WireComponent<'de>
impl<'de> !UnwindSafe for WireComponent<'de>
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