pub struct GraphNode {
pub id: Arc<str>,
pub kind: String,
pub title: String,
pub parent: Option<NodeIx>,
pub policy: NodePolicy,
pub role: NodeRole,
pub node: Arc<dyn Node>,
pub doc: NodeDoc,
}Expand description
A compiled node.
Fields§
§id: Arc<str>§kind: String§title: String§parent: Option<NodeIx>Owning container, None for the root scope.
policy: NodePolicy§role: NodeRole§node: Arc<dyn Node>§doc: NodeDocThe source document (kept for introspection and tooling).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GraphNode
impl !UnwindSafe for GraphNode
impl Forget for GraphNode
impl Freeze for GraphNode
impl Move for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
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