Struct rustc_ap_rustc_serialize::json::Decoder [−][src]
pub struct Decoder { /* fields omitted */ }
Expand description
A structure to decode JSON to values in rust.
Implementations
Trait Implementations
type Error = DecoderError
fn read_enum<T, F>(&mut self, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
[src]fn read_enum_variant<T, F>(&mut self, names: &[&str], f: F) -> DecodeResult<T> where
F: FnMut(&mut Decoder, usize) -> DecodeResult<T>,
[src]fn read_enum_variant_arg<T, F>(&mut self, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
[src]fn read_struct<T, F>(&mut self, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
[src]fn read_struct_field<T, F>(&mut self, name: &str, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
[src]fn read_tuple<T, F>(&mut self, tuple_len: usize, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
[src]fn read_tuple_arg<T, F>(&mut self, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
[src]fn read_option<T, F>(&mut self, f: F) -> DecodeResult<T> where
F: FnMut(&mut Decoder, bool) -> DecodeResult<T>,
[src]fn read_seq<T, F>(&mut self, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder, usize) -> DecodeResult<T>,
[src]fn read_seq_elt<T, F>(&mut self, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
[src]fn read_map<T, F>(&mut self, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder, usize) -> DecodeResult<T>,
[src]fn read_map_elt_key<T, F>(&mut self, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
[src]fn read_map_elt_val<T, F>(&mut self, f: F) -> DecodeResult<T> where
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
[src]Auto Trait Implementations
impl RefUnwindSafe for Decoder
impl UnwindSafe for Decoder