Struct lib_ruby_parser::nodes::Int
source · [−]Expand description
Represents an integer literal (i.e. 42
)
Fields
value: String
String value of the literal, String("42")
for 42
operator_l: Option<Loc>
Location of unary -
(but not +
)
-42
~
expression_l: Loc
Location of the full expression
-42
~~~
Trait Implementations
impl StructuralPartialEq for Int
Auto Trait Implementations
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnwindSafe for Int
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