pub struct Node {
pub identifier: Spanned<String>,
pub label: Spanned<String>,
pub properties: Vec<NodeProperty>,
pub span: Span,
}Expand description
An architectural node declaration.
Fields§
§identifier: Spanned<String>Source identifier.
label: Spanned<String>Visible node label.
properties: Vec<NodeProperty>Authored properties in source order.
span: SpanSpan of the complete declaration.
Trait Implementations§
impl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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