Encode

Trait Encode 

Source
pub trait Encode: Iterator<Item = u8>
where Self: Sized,
{ // Provided methods fn base256u<F>(self, function: F) -> Encoder<Self, F> where F: Fn(u8) -> char { ... } fn base256u_papu(self) -> Encoder<Self, fn(u8) -> char> { ... } fn base256u_emoji(self) -> Encoder<Self, fn(u8) -> char> { ... } }

Provided Methods§

Source

fn base256u<F>(self, function: F) -> Encoder<Self, F>
where F: Fn(u8) -> char,

Source

fn base256u_papu(self) -> Encoder<Self, fn(u8) -> char>

Source

fn base256u_emoji(self) -> Encoder<Self, fn(u8) -> char>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> Encode for T
where T: Iterator<Item = u8>,