Struct rustc_serialize::opaque::MemDecoder
source · Fields§
§data: &'a [u8]
§position: usize
Implementations§
Trait Implementations§
source§impl<'a> Decodable<MemDecoder<'a>> for IntEncodedWithFixedSize
impl<'a> Decodable<MemDecoder<'a>> for IntEncodedWithFixedSize
fn decode(decoder: &mut MemDecoder<'a>) -> IntEncodedWithFixedSize
source§impl<'a> Decodable<MemDecoder<'a>> for Vec<u8>
impl<'a> Decodable<MemDecoder<'a>> for Vec<u8>
fn decode(d: &mut MemDecoder<'a>) -> Self
source§impl<'a> Decoder for MemDecoder<'a>
impl<'a> Decoder for MemDecoder<'a>
fn read_u128(&mut self) -> u128
fn read_u64(&mut self) -> u64
fn read_u32(&mut self) -> u32
fn read_u16(&mut self) -> u16
fn read_u8(&mut self) -> u8
fn read_usize(&mut self) -> usize
fn read_i128(&mut self) -> i128
fn read_i64(&mut self) -> i64
fn read_i32(&mut self) -> i32
fn read_i16(&mut self) -> i16
fn read_i8(&mut self) -> i8
fn read_isize(&mut self) -> isize
fn read_bool(&mut self) -> bool
fn read_f64(&mut self) -> f64
fn read_f32(&mut self) -> f32
fn read_char(&mut self) -> char
fn read_str(&mut self) -> &'a str
fn read_raw_bytes(&mut self, bytes: usize) -> &'a [u8] ⓘ
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MemDecoder<'a>
impl<'a> Send for MemDecoder<'a>
impl<'a> Sync for MemDecoder<'a>
impl<'a> Unpin for MemDecoder<'a>
impl<'a> UnwindSafe for MemDecoder<'a>
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes