[][src]Trait rustc_ap_serialize::UseSpecializedDecodable

pub trait UseSpecializedDecodable: Sized {
    fn default_decode<D: Decoder>(_: &mut D) -> Result<Self, D::Error> { ... }
}

Implement this trait on your type to get an Decodable implementation which goes through SpecializedDecoder.

Provided methods

fn default_decode<D: Decoder>(_: &mut D) -> Result<Self, D::Error>

Defaults to returning an error (see SpecializationError).

Loading content...

Implementations on Foreign Types

impl<T: Decodable> UseSpecializedDecodable for Box<T>[src]

impl<'a, T: Decodable> UseSpecializedDecodable for &'a T[src]

impl<'a, T: Decodable> UseSpecializedDecodable for &'a [T][src]

Loading content...

Implementors

Loading content...