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 for Whitespace<'input>
impl<'input> PartialEq 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 ==.impl<'input> Eq for Whitespace<'input>
impl<'input> StructuralPartialEq for Whitespace<'input>
Auto Trait Implementations§
impl<'input> Freeze for Whitespace<'input>
impl<'input> RefUnwindSafe for Whitespace<'input>
impl<'input> Send for Whitespace<'input>
impl<'input> Sync for Whitespace<'input>
impl<'input> Unpin for Whitespace<'input>
impl<'input> UnwindSafe for Whitespace<'input>
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