Struct g_code::parse::token::LineComponent   
source · pub struct LineComponent<'input> { /* private fields */ }Expand description
An internal structure used to make writing the peg parser easier.
Implementations§
source§impl<'input> LineComponent<'input>
 
impl<'input> LineComponent<'input>
pub fn iter_bytes(&'input self) -> impl Iterator<Item = &'input u8> + 'input
Trait Implementations§
source§impl<'input> Clone for LineComponent<'input>
 
impl<'input> Clone for LineComponent<'input>
source§fn clone(&self) -> LineComponent<'input>
 
fn clone(&self) -> LineComponent<'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 LineComponent<'input>
 
impl<'input> Debug for LineComponent<'input>
source§impl<'input> Default for LineComponent<'input>
 
impl<'input> Default for LineComponent<'input>
source§fn default() -> LineComponent<'input>
 
fn default() -> LineComponent<'input>
Returns the “default value” for a type. Read more
source§impl<'input> PartialEq for LineComponent<'input>
 
impl<'input> PartialEq for LineComponent<'input>
source§fn eq(&self, other: &LineComponent<'input>) -> bool
 
fn eq(&self, other: &LineComponent<'input>) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl<'input> Eq for LineComponent<'input>
impl<'input> StructuralPartialEq for LineComponent<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for LineComponent<'input>
impl<'input> Send for LineComponent<'input>
impl<'input> Sync for LineComponent<'input>
impl<'input> Unpin for LineComponent<'input>
impl<'input> UnwindSafe for LineComponent<'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