Trait nom::ExtendInto [−][src]
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
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
Implementations on Foreign Types
impl ExtendInto for [u8]
[src]
impl ExtendInto for [u8]
impl ExtendInto for str
[src]
impl ExtendInto for str
type Item = char
type Extender = String
fn new_builder(&self) -> String
[src]
fn new_builder(&self) -> String
fn extend_into(&self, acc: &mut String)
[src]
fn extend_into(&self, acc: &mut String)
impl ExtendInto for char
[src]
impl ExtendInto for char
type Item = char
type Extender = String
fn new_builder(&self) -> String
[src]
fn new_builder(&self) -> String
fn extend_into(&self, acc: &mut String)
[src]
fn extend_into(&self, acc: &mut String)
Implementors
impl<'a> ExtendInto for CompleteStr<'a> type Item = char; type Extender = String;