Trait nom::ExtendInto [−][src]
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
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
Implementations on Foreign Types
impl ExtendInto for [u8]
[src]
type Item = u8
type Extender = Vec<u8>
fn new_builder(&self) -> Vec<u8>ⓘ
[src]
fn extend_into(&self, acc: &mut Vec<u8>)
[src]
impl ExtendInto for &[u8]
[src]
type Item = u8
type Extender = Vec<u8>
fn new_builder(&self) -> Vec<u8>ⓘ
[src]
fn extend_into(&self, acc: &mut Vec<u8>)
[src]
impl ExtendInto for str
[src]
type Item = char
type Extender = String
fn new_builder(&self) -> String
[src]
fn extend_into(&self, acc: &mut String)
[src]
impl ExtendInto for &str
[src]
type Item = char
type Extender = String
fn new_builder(&self) -> String
[src]
fn extend_into(&self, acc: &mut String)
[src]
impl ExtendInto for char
[src]
type Item = char
type Extender = String
fn new_builder(&self) -> String
[src]
fn extend_into(&self, acc: &mut String)
[src]
impl<O, T> ExtendInto for BitSlice<O, T> where
O: BitOrder,
T: BitStore,
[src]
O: BitOrder,
T: BitStore,
type Item = bool
type Extender = BitVec<O, T>
fn new_builder(&self) -> BitVec<O, T>
[src]
fn extend_into(&self, acc: &mut Self::Extender)
[src]
impl<'a, O, T> ExtendInto for &'a BitSlice<O, T> where
O: BitOrder,
T: 'a + BitStore,
[src]
O: BitOrder,
T: 'a + BitStore,