pub struct NodeParts<T = IriBuf, B = BlankIdBuf> {
pub id: Option<Id<T, B>>,
pub types: Option<Vec<Id<T, B>>>,
pub graph: Option<Graph<T, B>>,
pub included: Option<Included<T, B>>,
pub properties: Properties<T, B>,
pub reverse_properties: Option<ReverseProperties<T, B>>,
}Expand description
Every member of a node, owned.
What Node::into_parts returns: the same members as the node’s public
fields. Dropping it drops each child through the child’s own iterative
Drop, so it adds one level of drop recursion at most.
Fields§
§id: Option<Id<T, B>>Identifier (@id).
types: Option<Vec<Id<T, B>>>Types (@type).
graph: Option<Graph<T, B>>Associated graph (@graph).
included: Option<Included<T, B>>Included nodes (@included).
properties: Properties<T, B>Properties.
reverse_properties: Option<ReverseProperties<T, B>>Reverse properties (@reverse).
Auto Trait Implementations§
impl<T, B> Freeze for NodeParts<T, B>
impl<T, B> RefUnwindSafe for NodeParts<T, B>where
Option<Id<T, B>>: RefUnwindSafe,
Option<Vec<Id<T, B>>>: RefUnwindSafe,
Option<Vec<Indexed<Object<T, B>>>>: RefUnwindSafe,
Option<Vec<Indexed<Node<T, B>>>>: RefUnwindSafe,
Properties<T, B>: RefUnwindSafe,
Option<ReverseProperties<T, B>>: RefUnwindSafe,
impl<T, B> Send for NodeParts<T, B>
impl<T, B> Sync for NodeParts<T, B>
impl<T, B> Unpin for NodeParts<T, B>
impl<T, B> UnsafeUnpin for NodeParts<T, B>where
Option<Id<T, B>>: UnsafeUnpin,
Option<Vec<Id<T, B>>>: UnsafeUnpin,
Option<Vec<Indexed<Object<T, B>>>>: UnsafeUnpin,
Option<Vec<Indexed<Node<T, B>>>>: UnsafeUnpin,
Properties<T, B>: UnsafeUnpin,
Option<ReverseProperties<T, B>>: UnsafeUnpin,
impl<T, B> UnwindSafe for NodeParts<T, B>where
Option<Id<T, B>>: UnwindSafe,
Option<Vec<Id<T, B>>>: UnwindSafe,
Option<Vec<Indexed<Object<T, B>>>>: UnwindSafe,
Option<Vec<Indexed<Node<T, B>>>>: UnwindSafe,
Properties<T, B>: UnwindSafe,
Option<ReverseProperties<T, B>>: UnwindSafe,
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.