[][src]Trait nom::ExtendInto

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

abtracts something which can extend an Extend

Associated Types

type Item

type Extender: Extend<Self::Item>

Loading content...

Required methods

fn new_builder(&self) -> Self::Extender

create a new Extend of the correct type

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

accumulate the input into an accumulator

Loading content...

Implementations on Foreign Types

impl ExtendInto for [u8][src]

type Item = u8

type Extender = Vec<u8>

impl ExtendInto for str[src]

type Item = char

type Extender = String

impl ExtendInto for char[src]

type Item = char

type Extender = String

Loading content...

Implementors

impl<'a> ExtendInto for CompleteStr<'a>[src]

type Item = char

type Extender = String

Loading content...