[][src]Struct wast::lexer::Float

pub struct Float<'a> { /* fields omitted */ }

A parsed float.

Methods can be use to access the value of the float.

Methods

impl<'a> Float<'a>[src]

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

Returns the original source text for this integer.

pub fn val(&self) -> &FloatVal<'a>[src]

Returns a parsed value of this float with all of the components still listed as strings.

Trait Implementations

impl<'a> PartialEq<Float<'a>> for Float<'a>[src]

impl<'a> Debug for Float<'a>[src]

impl<'a> StructuralPartialEq for Float<'a>[src]

Auto Trait Implementations

impl<'a> Send for Float<'a>

impl<'a> Sync for Float<'a>

impl<'a> Unpin for Float<'a>

impl<'a> UnwindSafe for Float<'a>

impl<'a> RefUnwindSafe for Float<'a>

Blanket Implementations

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

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

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.

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

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

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