#[repr(C)]pub struct AstExprConstantInteger {
pub base: AstExpr,
pub value: i64,
pub parse_result: ConstantNumberParseResult,
}Fields§
§base: AstExpr§value: i64§parse_result: ConstantNumberParseResultImplementations§
Source§impl AstExprConstantInteger
impl AstExprConstantInteger
pub fn new( location: Location, value: i64, parse_result: ConstantNumberParseResult, ) -> Self
Trait Implementations§
Source§impl AstNodeClass for AstExprConstantInteger
impl AstNodeClass for AstExprConstantInteger
Source§const CLASS_INDEX: i32
const CLASS_INDEX: i32
The node’s RTTI id; mirrors
T::ClassIndex().Source§impl AstVisitable for AstExprConstantInteger
impl AstVisitable for AstExprConstantInteger
fn visit(&self, visitor: &mut dyn AstVisitor)
Auto Trait Implementations§
impl Freeze for AstExprConstantInteger
impl RefUnwindSafe for AstExprConstantInteger
impl Send for AstExprConstantInteger
impl Sync for AstExprConstantInteger
impl Unpin for AstExprConstantInteger
impl UnsafeUnpin for AstExprConstantInteger
impl UnwindSafe for AstExprConstantInteger
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