Struct tree_sitter_graph::ast::IntegerConstant
source · [−]pub struct IntegerConstant {
pub value: u32,
}Expand description
An integer constant
Fields
value: u32Trait Implementations
sourceimpl Debug for IntegerConstant
impl Debug for IntegerConstant
sourceimpl Display for IntegerConstant
impl Display for IntegerConstant
sourceimpl From<IntegerConstant> for Expression
impl From<IntegerConstant> for Expression
sourcefn from(expr: IntegerConstant) -> Expression
fn from(expr: IntegerConstant) -> Expression
Converts to this type from the input type.
sourceimpl PartialEq<IntegerConstant> for IntegerConstant
impl PartialEq<IntegerConstant> for IntegerConstant
sourcefn eq(&self, other: &IntegerConstant) -> bool
fn eq(&self, other: &IntegerConstant) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &IntegerConstant) -> bool
fn ne(&self, other: &IntegerConstant) -> bool
This method tests for !=.
impl Eq for IntegerConstant
impl StructuralEq for IntegerConstant
impl StructuralPartialEq for IntegerConstant
Auto Trait Implementations
impl RefUnwindSafe for IntegerConstant
impl Send for IntegerConstant
impl Sync for IntegerConstant
impl Unpin for IntegerConstant
impl UnwindSafe for IntegerConstant
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