Struct tree_sitter_graph::ast::DeclareImmutable
source · [−]pub struct DeclareImmutable {
pub variable: Variable,
pub value: Expression,
pub location: Location,
}Expand description
A let statement that declares a new immutable variable
Fields
variable: Variablevalue: Expressionlocation: LocationTrait Implementations
sourceimpl Debug for DeclareImmutable
impl Debug for DeclareImmutable
sourceimpl Display for DeclareImmutable
impl Display for DeclareImmutable
sourceimpl From<DeclareImmutable> for Statement
impl From<DeclareImmutable> for Statement
sourcefn from(statement: DeclareImmutable) -> Statement
fn from(statement: DeclareImmutable) -> Statement
Converts to this type from the input type.
sourceimpl PartialEq<DeclareImmutable> for DeclareImmutable
impl PartialEq<DeclareImmutable> for DeclareImmutable
sourcefn eq(&self, other: &DeclareImmutable) -> bool
fn eq(&self, other: &DeclareImmutable) -> bool
impl Eq for DeclareImmutable
impl StructuralEq for DeclareImmutable
impl StructuralPartialEq for DeclareImmutable
Auto Trait Implementations
impl RefUnwindSafe for DeclareImmutable
impl Send for DeclareImmutable
impl Sync for DeclareImmutable
impl Unpin for DeclareImmutable
impl UnwindSafe for DeclareImmutable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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