Struct tree_sitter_graph::ast::AddGraphNodeAttribute
source · [−]pub struct AddGraphNodeAttribute {
pub node: Expression,
pub attributes: Vec<Attribute>,
pub location: Location,
}Expand description
An attr statement that adds an attribute to a graph node
Fields
node: Expressionattributes: Vec<Attribute>location: LocationTrait Implementations
sourceimpl Debug for AddGraphNodeAttribute
impl Debug for AddGraphNodeAttribute
sourceimpl Display for AddGraphNodeAttribute
impl Display for AddGraphNodeAttribute
sourceimpl From<AddGraphNodeAttribute> for Statement
impl From<AddGraphNodeAttribute> for Statement
sourcefn from(statement: AddGraphNodeAttribute) -> Statement
fn from(statement: AddGraphNodeAttribute) -> Statement
Converts to this type from the input type.
sourceimpl PartialEq<AddGraphNodeAttribute> for AddGraphNodeAttribute
impl PartialEq<AddGraphNodeAttribute> for AddGraphNodeAttribute
sourcefn eq(&self, other: &AddGraphNodeAttribute) -> bool
fn eq(&self, other: &AddGraphNodeAttribute) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Eq for AddGraphNodeAttribute
impl StructuralEq for AddGraphNodeAttribute
impl StructuralPartialEq for AddGraphNodeAttribute
Auto Trait Implementations
impl RefUnwindSafe for AddGraphNodeAttribute
impl Send for AddGraphNodeAttribute
impl Sync for AddGraphNodeAttribute
impl Unpin for AddGraphNodeAttribute
impl UnwindSafe for AddGraphNodeAttribute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more