pub struct CompositeNodeSpecInfo {
pub name: Option<String>,
pub driver: Option<String>,
pub primary_index: Option<u32>,
pub parent_names: Option<Vec<String>>,
pub parents: Option<Vec<ParentSpec>>,
/* private fields */
}
Fields§
§name: Option<String>
The name of the node group.
driver: Option<String>
The url of the driver matched to the spec. Empty if no driver has matched to this node group.
primary_index: Option<u32>
The primary node index, this comes from the matched driver. Empty if no driver has matched to this node group.
parent_names: Option<Vec<String>>
A list of all the parents names for the composite node. Empty if no driver has matched to this composite node spec. These are ordered according to index.
parents: Option<Vec<ParentSpec>>
The nodes in the node group.
Trait Implementations§
source§impl Clone for CompositeNodeSpecInfo
impl Clone for CompositeNodeSpecInfo
source§fn clone(&self) -> CompositeNodeSpecInfo
fn clone(&self) -> CompositeNodeSpecInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CompositeNodeSpecInfo
impl Debug for CompositeNodeSpecInfo
source§impl Decode<CompositeNodeSpecInfo> for CompositeNodeSpecInfo
impl Decode<CompositeNodeSpecInfo> for CompositeNodeSpecInfo
source§impl Default for CompositeNodeSpecInfo
impl Default for CompositeNodeSpecInfo
source§fn default() -> CompositeNodeSpecInfo
fn default() -> CompositeNodeSpecInfo
Returns the “default value” for a type. Read more
source§impl Encode<CompositeNodeSpecInfo> for &CompositeNodeSpecInfo
impl Encode<CompositeNodeSpecInfo> for &CompositeNodeSpecInfo
source§impl PartialEq<CompositeNodeSpecInfo> for CompositeNodeSpecInfo
impl PartialEq<CompositeNodeSpecInfo> for CompositeNodeSpecInfo
source§fn eq(&self, other: &CompositeNodeSpecInfo) -> bool
fn eq(&self, other: &CompositeNodeSpecInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TypeMarker for CompositeNodeSpecInfo
impl TypeMarker for CompositeNodeSpecInfo
§type Owned = CompositeNodeSpecInfo
type Owned = CompositeNodeSpecInfo
The owned Rust type which this FIDL type decodes into.
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.source§impl ValueTypeMarker for CompositeNodeSpecInfo
impl ValueTypeMarker for CompositeNodeSpecInfo
§type Borrowed<'a> = &'a <CompositeNodeSpecInfo as TypeMarker>::Owned
type Borrowed<'a> = &'a <CompositeNodeSpecInfo as TypeMarker>::Owned
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for CompositeNodeSpecInfo
impl StructuralPartialEq for CompositeNodeSpecInfo
Auto Trait Implementations§
impl RefUnwindSafe for CompositeNodeSpecInfo
impl Send for CompositeNodeSpecInfo
impl Sync for CompositeNodeSpecInfo
impl Unpin for CompositeNodeSpecInfo
impl UnwindSafe for CompositeNodeSpecInfo
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