pub struct CompositeNodeSpec<'de> { /* private fields */ }Expand description
The wire type corresponding to CompositeNodeSpec.
Implementations§
Source§impl<'de> CompositeNodeSpec<'de>
impl<'de> CompositeNodeSpec<'de>
pub fn name(&self) -> Option<&String<'de>>
pub fn parents(&self) -> Option<&Vector<'de, ParentSpec<'de>>>
pub fn parents2(&self) -> Option<&Vector<'de, ParentSpec2<'de>>>
pub fn driver_host(&self) -> Option<&String<'de>>
Trait Implementations§
Source§impl Constrained for CompositeNodeSpec<'_>
impl Constrained for CompositeNodeSpec<'_>
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, CompositeNodeSpec<'_>>,
_: <CompositeNodeSpec<'_> as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, CompositeNodeSpec<'_>>, _: <CompositeNodeSpec<'_> as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl<'de> Debug for CompositeNodeSpec<'de>
impl<'de> Debug for CompositeNodeSpec<'de>
Source§impl<'de, ___D> Decode<___D> for CompositeNodeSpec<'de>where
___D: Decoder<'de> + ?Sized,
impl<'de, ___D> Decode<___D> for CompositeNodeSpec<'de>where
___D: Decoder<'de> + ?Sized,
Source§impl<'de> Drop for CompositeNodeSpec<'de>
impl<'de> Drop for CompositeNodeSpec<'de>
Source§impl<'a, ___E> Encode<CompositeNodeSpec<'static>, ___E> for &'a CompositeNodeSpecwhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<CompositeNodeSpec<'static>, ___E> for &'a CompositeNodeSpecwhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<CompositeNodeSpec<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<CompositeNodeSpec<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<CompositeNodeSpec<'static>, ___E> for CompositeNodeSpecwhere
___E: Encoder + ?Sized,
impl<___E> Encode<CompositeNodeSpec<'static>, ___E> for CompositeNodeSpecwhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<CompositeNodeSpec<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<CompositeNodeSpec<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<CompositeNodeSpec<'de>> for CompositeNodeSpec
impl<'de> FromWire<CompositeNodeSpec<'de>> for CompositeNodeSpec
Source§fn from_wire(wire_: CompositeNodeSpec<'de>) -> CompositeNodeSpec
fn from_wire(wire_: CompositeNodeSpec<'de>) -> CompositeNodeSpec
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<CompositeNodeSpec<'de>> for CompositeNodeSpec
impl<'de> FromWireRef<CompositeNodeSpec<'de>> for CompositeNodeSpec
Source§fn from_wire_ref(wire: &CompositeNodeSpec<'de>) -> CompositeNodeSpec
fn from_wire_ref(wire: &CompositeNodeSpec<'de>) -> CompositeNodeSpec
Converts the given reference to this type.
Source§impl<'de> IntoNatural for CompositeNodeSpec<'de>
impl<'de> IntoNatural for CompositeNodeSpec<'de>
Source§type Natural = CompositeNodeSpec
type Natural = CompositeNodeSpec
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for CompositeNodeSpec<'static>
impl Wire for CompositeNodeSpec<'static>
Source§type Narrowed<'de> = CompositeNodeSpec<'de>
type Narrowed<'de> = CompositeNodeSpec<'de>
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out: &mut MaybeUninit<CompositeNodeSpec<'static>>)
fn zero_padding(out: &mut MaybeUninit<CompositeNodeSpec<'static>>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl<'de> Freeze for CompositeNodeSpec<'de>
impl<'de> RefUnwindSafe for CompositeNodeSpec<'de>
impl<'de> Send for CompositeNodeSpec<'de>
impl<'de> Sync for CompositeNodeSpec<'de>
impl<'de> Unpin for CompositeNodeSpec<'de>
impl<'de> !UnwindSafe for CompositeNodeSpec<'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
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]