Struct docs::ast::IntegerLiteral
source · pub struct IntegerLiteral {
pub token: Token,
pub value: i64,
}Fields§
§token: Token§value: i64Trait Implementations§
source§impl Clone for IntegerLiteral
impl Clone for IntegerLiteral
source§fn clone(&self) -> IntegerLiteral
fn clone(&self) -> IntegerLiteral
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IntegerLiteral
impl Debug for IntegerLiteral
source§impl Nodetrait for IntegerLiteral
impl Nodetrait for IntegerLiteral
source§impl PartialEq for IntegerLiteral
impl PartialEq for IntegerLiteral
source§fn eq(&self, other: &IntegerLiteral) -> bool
fn eq(&self, other: &IntegerLiteral) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IntegerLiteral
Auto Trait Implementations§
impl Freeze for IntegerLiteral
impl RefUnwindSafe for IntegerLiteral
impl Send for IntegerLiteral
impl Sync for IntegerLiteral
impl Unpin for IntegerLiteral
impl UnwindSafe for IntegerLiteral
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more