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<LineComponent<'input>> for LineComponent<'input>
impl<'input> PartialEq<LineComponent<'input>> 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 ==.