[][src]Struct wat_ast::NumericIndex

pub struct NumericIndex { /* fields omitted */ }

Implementations

impl NumericIndex[src]

pub fn new(i: Integer) -> Self[src]

pub fn span(&self) -> Option<Span>[src]

pub fn sign(&self) -> Option<Sign>[src]

Returns the sign token for this integer.

pub fn src(&self) -> &str[src]

Returns the original source text for this integer.

pub fn val(&self) -> (Option<&String>, Option<u32>)[src]

Returns the value string that can be parsed for this integer, as well as the base that it should be parsed in

Trait Implementations

impl AsAtoms for NumericIndex[src]

impl Clone for NumericIndex[src]

impl Debug for NumericIndex[src]

impl Eq for NumericIndex[src]

impl Hash for NumericIndex[src]

impl<'_> Parse<'_> for NumericIndex[src]

impl PartialEq<NumericIndex> for NumericIndex[src]

impl Peek for NumericIndex[src]

impl StructuralEq for NumericIndex[src]

impl StructuralPartialEq for NumericIndex[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.