Struct geo_aid::script::token::TokInteger
source · pub struct TokInteger {
pub span: Span,
pub parsed: ParsedInt,
}
Expand description
An integer.
Fields§
§span: Span
§parsed: ParsedInt
Trait Implementations§
source§impl Clone for TokInteger
impl Clone for TokInteger
source§fn clone(&self) -> TokInteger
fn clone(&self) -> TokInteger
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 TokInteger
impl Debug for TokInteger
source§impl Display for TokInteger
impl Display for TokInteger
source§impl Parse for TokInteger
impl Parse for TokInteger
source§impl PartialEq for TokInteger
impl PartialEq for TokInteger
source§fn eq(&self, other: &TokInteger) -> bool
fn eq(&self, other: &TokInteger) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TokInteger
impl StructuralPartialEq for TokInteger
Auto Trait Implementations§
impl Freeze for TokInteger
impl RefUnwindSafe for TokInteger
impl Send for TokInteger
impl Sync for TokInteger
impl Unpin for TokInteger
impl UnwindSafe for TokInteger
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
source§impl<T> CheckParses for Twhere
T: Parse,
impl<T> CheckParses for Twhere
T: Parse,
fn check_parses<'t, I>(input: &InputStream<'t, I>) -> Option<bool>
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneWithNode for Twhere
T: Clone,
impl<T> CloneWithNode for Twhere
T: Clone,
fn clone_with_node(&mut self) -> T
fn clone_without_node(&self) -> T
source§impl<T> Convert for T
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more