Trait nom::ExtendInto

source ·
pub trait ExtendInto {
    type Item;
    type Extender;

    fn new_builder(&self) -> Self::Extender;
    fn extend_into(&self, acc: &mut Self::Extender);
}
Expand description

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

Required Associated Types§

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

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

The type that will be produced

Required Methods§

Create a new Extend of the correct type

Accumulate the input into an accumulator

Implementations on Foreign Types§

Implementors§