[][src]Struct encoding::codec::simpchinese::GBEncoder

pub struct GBEncoder<T> { /* fields omitted */ }

An encoder for GBK and GB18030.

Specialization

This type is specialized with GBType T, which should be either GBK or GB18030.

Methods

impl<T: GBType> GBEncoder<T>[src]

pub fn new() -> Box<dyn RawEncoder>[src]

Trait Implementations

impl<T: GBType> RawEncoder for GBEncoder<T>[src]

impl<T: Clone> Clone for GBEncoder<T>[src]

impl<T: Copy> Copy for GBEncoder<T>[src]

Auto Trait Implementations

impl<T> Send for GBEncoder<T> where
    T: Send

impl<T> Sync for GBEncoder<T> where
    T: Sync

impl<T> Unpin for GBEncoder<T> where
    T: Unpin

impl<T> UnwindSafe for GBEncoder<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for GBEncoder<T> where
    T: RefUnwindSafe

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]