pub struct Node {
pub id: ID,
pub attribute_list: Option<Vec<Vec<Assignment>>>,
}
Expand description
The main ASTNode type that represents any sort of node statement that declares or configures attributes for a node
An example of a node: A [color = red][length = long]
Fields§
§id: ID
§attribute_list: Option<Vec<Vec<Assignment>>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin 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