Decode

Trait Decode 

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

Provided Methods§

Source

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

Source

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

Source

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

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> Decode for T
where T: Iterator<Item = char>,