Struct g_code::parse::token::Field[][src]

pub struct Field<'input> { /* fields omitted */ }

ASCII letter(s) followed by a Value

Implementations

impl<'input> Field<'input>[src]

pub fn iter_bytes(&'input self) -> impl Iterator<Item = &'input u8>[src]

Iterate over the bytes of the raw text. Used in [Line.compute_checksum].

Trait Implementations

impl<'input> Clone for Field<'input>[src]

impl<'input> Debug for Field<'input>[src]

impl<'input> Eq for Field<'input>[src]

impl<'a, 'input: 'a> From<&'a Field<'input>> for Token[src]

impl<'a, 'input: 'a> From<&'a Field<'input>> for Field[src]

impl<'input> PartialEq<Field<'input>> for Field<'input>[src]

impl<'input> Spanned for Field<'input>[src]

impl<'input> StructuralEq for Field<'input>[src]

impl<'input> StructuralPartialEq for Field<'input>[src]

Auto Trait Implementations

impl<'input> RefUnwindSafe for Field<'input>[src]

impl<'input> Send for Field<'input>[src]

impl<'input> Sync for Field<'input>[src]

impl<'input> Unpin for Field<'input>[src]

impl<'input> UnwindSafe for Field<'input>[src]

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.