pub struct NodePropertyEntry {
pub name: String,
pub properties: Vec<NodeProperty>,
}
Expand description
Contains the node properties that belong to a node.
Fields§
§name: String
§properties: Vec<NodeProperty>
Trait Implementations§
Source§impl Clone for NodePropertyEntry
impl Clone for NodePropertyEntry
Source§fn clone(&self) -> NodePropertyEntry
fn clone(&self) -> NodePropertyEntry
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 NodePropertyEntry
impl Debug for NodePropertyEntry
Source§impl Encodable for NodePropertyEntry
impl Encodable for NodePropertyEntry
Source§type Encoded = WireNodePropertyEntry
type Encoded = WireNodePropertyEntry
The wire type for the value.
§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
encoding instead of calling
encode
. Read moreSource§impl EncodableOption for Box<NodePropertyEntry>
impl EncodableOption for Box<NodePropertyEntry>
Source§type EncodedOption = WireBox<WireNodePropertyEntry>
type EncodedOption = WireBox<WireNodePropertyEntry>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for NodePropertyEntrywhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<___E> for NodePropertyEntrywhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<___E> EncodeOption<___E> for Box<NodePropertyEntry>where
___E: Encoder + ?Sized,
NodePropertyEntry: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<NodePropertyEntry>where
___E: Encoder + ?Sized,
NodePropertyEntry: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireNodePropertyEntry> for NodePropertyEntry
impl TakeFrom<WireNodePropertyEntry> for NodePropertyEntry
Source§fn take_from(from: &WireNodePropertyEntry) -> Self
fn take_from(from: &WireNodePropertyEntry) -> 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 moreAuto Trait Implementations§
impl Freeze for NodePropertyEntry
impl RefUnwindSafe for NodePropertyEntry
impl Send for NodePropertyEntry
impl Sync for NodePropertyEntry
impl Unpin for NodePropertyEntry
impl UnwindSafe for NodePropertyEntry
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