pub struct Component<'de> { /* private fields */ }
Expand description
The wire type corresponding to Component
.
Implementations§
Source§impl<'de> Component<'de>
impl<'de> Component<'de>
pub fn program(&self) -> Option<&Program<'de>>
pub fn uses(&self) -> Option<&WireVector<'de, Use<'de>>>
pub fn exposes(&self) -> Option<&WireVector<'de, Expose<'de>>>
pub fn offers(&self) -> Option<&WireVector<'de, Offer<'de>>>
pub fn capabilities(&self) -> Option<&WireVector<'de, Capability<'de>>>
pub fn children(&self) -> Option<&WireVector<'de, Child<'de>>>
pub fn collections(&self) -> Option<&WireVector<'de, Collection<'de>>>
pub fn environments(&self) -> Option<&WireVector<'de, Environment<'de>>>
pub fn facets(&self) -> Option<&Dictionary<'de>>
pub fn config(&self) -> Option<&ConfigSchema<'de>>
Trait Implementations§
Source§impl<'de> FromWireRef<Component<'de>> for Component
impl<'de> FromWireRef<Component<'de>> for Component
Source§fn from_wire_ref(wire: &Component<'de>) -> Self
fn from_wire_ref(wire: &Component<'de>) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for Component<'static>
impl Wire for Component<'static>
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.
impl Unconstrained for Component<'_>
Auto Trait Implementations§
impl<'de> Freeze for Component<'de>
impl<'de> RefUnwindSafe for Component<'de>
impl<'de> Send for Component<'de>
impl<'de> Sync for Component<'de>
impl<'de> Unpin for Component<'de>
impl<'de> !UnwindSafe for Component<'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
§impl<T> Constrained for Twhere
T: Unconstrained,
impl<T> Constrained for Twhere
T: Unconstrained,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T
to [Self
]