pub struct NodeAttributes2 {
pub mutable_attributes: MutableNodeAttributes,
pub immutable_attributes: ImmutableNodeAttributes,
}
Fields§
§mutable_attributes: MutableNodeAttributes
§immutable_attributes: ImmutableNodeAttributes
Trait Implementations§
Source§impl Clone for NodeAttributes2
impl Clone for NodeAttributes2
Source§fn clone(&self) -> NodeAttributes2
fn clone(&self) -> NodeAttributes2
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 NodeAttributes2
impl Debug for NodeAttributes2
Source§impl Encodable for NodeAttributes2
impl Encodable for NodeAttributes2
Source§type Encoded = WireNodeAttributes2
type Encoded = WireNodeAttributes2
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<NodeAttributes2>
impl EncodableOption for Box<NodeAttributes2>
Source§type EncodedOption = WireBox<WireNodeAttributes2>
type EncodedOption = WireBox<WireNodeAttributes2>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for NodeAttributes2where
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<___E> for NodeAttributes2where
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<___E> EncodeOption<___E> for Box<NodeAttributes2>where
___E: Encoder + ?Sized,
NodeAttributes2: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<NodeAttributes2>where
___E: Encoder + ?Sized,
NodeAttributes2: 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<WireNodeAttributes2> for NodeAttributes2
impl TakeFrom<WireNodeAttributes2> for NodeAttributes2
Source§fn take_from(from: &WireNodeAttributes2) -> Self
fn take_from(from: &WireNodeAttributes2) -> 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 NodeAttributes2
impl RefUnwindSafe for NodeAttributes2
impl Send for NodeAttributes2
impl Sync for NodeAttributes2
impl Unpin for NodeAttributes2
impl UnwindSafe for NodeAttributes2
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