Struct tree_sitter_graph::ast::Assign
source · [−]pub struct Assign {
pub variable: Variable,
pub value: Expression,
pub location: Location,
}
Expand description
A set
statement that updates the value of a mutable variable
Fields
variable: Variable
value: Expression
location: Location
Trait Implementations
impl Eq for Assign
impl StructuralEq for Assign
impl StructuralPartialEq for Assign
Auto Trait Implementations
impl RefUnwindSafe for Assign
impl !Send for Assign
impl !Sync for Assign
impl Unpin for Assign
impl UnwindSafe for Assign
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more