Trait nom::ExtendInto
source · pub trait ExtendInto {
type Item;
type Extender: Extend<Self::Item>;
// Required methods
fn new_builder(&self) -> Self::Extender;
fn extend_into(&self, acc: &mut Self::Extender);
}
Expand description
abtracts something which can extend an Extend
used to build modified input slices in escaped_transform
Required Associated Types§
Required Methods§
sourcefn new_builder(&self) -> Self::Extender
fn new_builder(&self) -> Self::Extender
create a new Extend
of the correct type
sourcefn extend_into(&self, acc: &mut Self::Extender)
fn extend_into(&self, acc: &mut Self::Extender)
accumulate the input into an accumulator
Object Safety§
This trait is not object safe.