[−][src]Trait rustc_ap_rustc_serialize::Decodable
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
Loading content...Implementations on Foreign Types
impl<D: Decoder, A: Array<Item: Decodable<D>>> Decodable<D> for SmallVec<A>
[src]
impl<D: Decoder, T: Decodable<D>> Decodable<D> for LinkedList<T>
[src]
impl<D: Decoder, T: Decodable<D>> Decodable<D> for VecDeque<T>
[src]
impl<D: Decoder, K, V> Decodable<D> for BTreeMap<K, V> where
K: Decodable<D> + PartialEq + Ord,
V: Decodable<D>,
[src]
K: Decodable<D> + PartialEq + Ord,
V: Decodable<D>,
impl<D: Decoder, T> Decodable<D> for BTreeSet<T> where
T: Decodable<D> + PartialEq + Ord,
[src]
T: Decodable<D> + PartialEq + Ord,
impl<D: Decoder, K, V, S> Decodable<D> for HashMap<K, V, S> where
K: Decodable<D> + Hash + Eq,
V: Decodable<D>,
S: BuildHasher + Default,
[src]
K: Decodable<D> + Hash + Eq,
V: Decodable<D>,
S: BuildHasher + Default,
impl<D: Decoder, T, S> Decodable<D> for HashSet<T, S> where
T: Decodable<D> + Hash + Eq,
S: BuildHasher + Default,
[src]
T: Decodable<D> + Hash + Eq,
S: BuildHasher + Default,
impl<D: Decoder, K, V, S> Decodable<D> for IndexMap<K, V, S> where
K: Decodable<D> + Hash + Eq,
V: Decodable<D>,
S: BuildHasher + Default,
[src]
K: Decodable<D> + Hash + Eq,
V: Decodable<D>,
S: BuildHasher + Default,
impl<D: Decoder, T, S> Decodable<D> for IndexSet<T, S> where
T: Decodable<D> + Hash + Eq,
S: BuildHasher + Default,
[src]
T: Decodable<D> + Hash + Eq,
S: BuildHasher + Default,
impl<D: Decoder, T: Decodable<D>> Decodable<D> for Rc<[T]>
[src]
impl<D: Decoder, T: Decodable<D>> Decodable<D> for Arc<[T]>
[src]
impl<D: Decoder> Decodable<D> for usize
[src]
impl<D: Decoder> Decodable<D> for u8
[src]
impl<D: Decoder> Decodable<D> for u16
[src]
impl<D: Decoder> Decodable<D> for u32
[src]
impl<D: Decoder> Decodable<D> for u64
[src]
impl<D: Decoder> Decodable<D> for u128
[src]
impl<D: Decoder> Decodable<D> for isize
[src]
impl<D: Decoder> Decodable<D> for i8
[src]
impl<D: Decoder> Decodable<D> for i16
[src]
impl<D: Decoder> Decodable<D> for i32
[src]
impl<D: Decoder> Decodable<D> for i64
[src]
impl<D: Decoder> Decodable<D> for i128
[src]
impl<D: Decoder> Decodable<D> for f32
[src]
impl<D: Decoder> Decodable<D> for f64
[src]
impl<D: Decoder> Decodable<D> for bool
[src]
impl<D: Decoder> Decodable<D> for char
[src]
impl<D: Decoder> Decodable<D> for NonZeroU32
[src]
impl<D: Decoder> Decodable<D> for String
[src]
impl<D: Decoder> Decodable<D> for ()
[src]
impl<D: Decoder, T> Decodable<D> for PhantomData<T>
[src]
impl<D: Decoder, T: Decodable<D>> Decodable<D> for Box<[T]>
[src]
impl<D: Decoder, T: Decodable<D>> Decodable<D> for Rc<T>
[src]
impl<D: Decoder, T: Decodable<D>> Decodable<D> for Vec<T>
[src]
impl<D: Decoder> Decodable<D> for [u8; 20]
[src]
impl<D: Decoder, T: Decodable<D> + ToOwned> Decodable<D> for Cow<'static, [T]> where
[T]: ToOwned<Owned = Vec<T>>,
[src]
[T]: ToOwned<Owned = Vec<T>>,