Struct g_code::parse::token::Whitespace
source · pub struct Whitespace<'input> { /* private fields */ }Expand description
Any sequence of ASCII whitespace except for Newline.
Implementations§
source§impl<'input> Whitespace<'input>
impl<'input> Whitespace<'input>
pub fn iter_bytes(&'input self) -> impl Iterator<Item = &'input u8>
Trait Implementations§
source§impl<'input> Clone for Whitespace<'input>
impl<'input> Clone for Whitespace<'input>
source§fn clone(&self) -> Whitespace<'input>
fn clone(&self) -> Whitespace<'input>
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<'input> Debug for Whitespace<'input>
impl<'input> Debug for Whitespace<'input>
source§impl<'input> PartialEq<Whitespace<'input>> for Whitespace<'input>
impl<'input> PartialEq<Whitespace<'input>> for Whitespace<'input>
source§fn eq(&self, other: &Whitespace<'input>) -> bool
fn eq(&self, other: &Whitespace<'input>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.