[][src]Struct encoding::codec::singlebyte::SingleByteEncoding

pub struct SingleByteEncoding {
    pub name: &'static str,
    pub whatwg_name: Option<&'static str>,
    pub index_forward: fn(_: u8) -> u16,
    pub index_backward: fn(_: u32) -> u8,
}

A common framework for single-byte encodings based on ASCII.

Fields

name: &'static strwhatwg_name: Option<&'static str>index_forward: fn(_: u8) -> u16index_backward: fn(_: u32) -> u8

Trait Implementations

impl Encoding for SingleByteEncoding[src]

impl Clone for SingleByteEncoding[src]

impl Copy for SingleByteEncoding[src]

Auto Trait Implementations

impl Send for SingleByteEncoding

impl Sync for SingleByteEncoding

impl Unpin for SingleByteEncoding

impl UnwindSafe for SingleByteEncoding

impl RefUnwindSafe for SingleByteEncoding

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]