Trait nom::ExtendInto[][src]

pub trait ExtendInto {
    type Item;
    type Extender;
    fn new_builder(&self) -> Self::Extender;
fn extend_into(&self, acc: &mut Self::Extender); }

Abstracts something which can extend an Extend. Used to build modified input slices in escaped_transform

Associated Types

type Item[src]

The current input type is a sequence of that Item type.

Example: u8 for &[u8] or char for &str

type Extender[src]

The type that will be produced

Loading content...

Required methods

fn new_builder(&self) -> Self::Extender[src]

Create a new Extend of the correct type

fn extend_into(&self, acc: &mut Self::Extender)[src]

Accumulate the input into an accumulator

Loading content...

Implementors

Loading content...