Trait rustc_ap_rustc_serialize::Decodable [−][src]
Expand description
Trait for types that can be deserialized
This can be implemented using the Decodable
, TyDecodable
and
MetadataDecodable
macros.
Decodable
should be used in crates that don’t depend onrustc_middle
.MetadataDecodable
is used inrustc_metadata
for types that containrustc_metadata::rmeta::Lazy
.TyDecodable
should be used for types that are only serialized in crate metadata or the incremental cache. This is most types inrustc_middle
.
Required methods
Implementations on Foreign Types
impl<D: Decoder, T0: Decodable<D>, T1: Decodable<D>, T2: Decodable<D>, T3: Decodable<D>, T4: Decodable<D>, T5: Decodable<D>, T6: Decodable<D>, T7: Decodable<D>, T8: Decodable<D>, T9: Decodable<D>, T10: Decodable<D>, T11: Decodable<D>> Decodable<D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<D: Decoder, T0: Decodable<D>, T1: Decodable<D>, T2: Decodable<D>, T3: Decodable<D>, T4: Decodable<D>, T5: Decodable<D>, T6: Decodable<D>, T7: Decodable<D>, T8: Decodable<D>, T9: Decodable<D>, T10: Decodable<D>, T11: Decodable<D>> Decodable<D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)