Trait ExtendInto
pub trait ExtendInto
Abstracts something which can extend an Extend.
Used to build modified input slices in escaped_transform
Associated Types
type Item;The current input type is a sequence of that
Itemtype.Example:
u8for&[u8]orcharfor&strtype Extender;The type that will be produced
Required Methods
fn new_builder(&self) -> Self::ExtenderCreate a new
Extendof the correct typefn extend_into(&self, acc: &mut Self::Extender)Accumulate the input into an accumulator
Implementors
impl ExtendInto for &[u8]impl ExtendInto for &strimpl ExtendInto for [u8]impl ExtendInto for charimpl ExtendInto for str