pub trait ExtendInto {
type Item;
type Extender;
// Required methods
fn new_builder(&self) -> Self::Extender;
fn extend_into(&self, acc: &mut Self::Extender);
}Expand description
Abstracts 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
Implementations on Foreign Types§
Source§impl ExtendInto for &str
Available on crate feature alloc only.
impl ExtendInto for &str
Available on crate feature
alloc only.Source§impl ExtendInto for &[u8]
Available on crate feature alloc only.
impl ExtendInto for &[u8]
Available on crate feature
alloc only.Source§impl ExtendInto for str
Available on crate feature alloc only.
impl ExtendInto for str
Available on crate feature
alloc only.Source§impl ExtendInto for [u8]
Available on crate feature alloc only.
impl ExtendInto for [u8]
Available on crate feature
alloc only.