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 duplicate 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>
impl<'input> Eq for LineComponent<'input>
impl<'input> StructuralPartialEq for LineComponent<'input>
Auto Trait Implementations§
impl<'input> Freeze for LineComponent<'input>
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