Lines Matching refs:Serializer
25 value.serialize(&mut Serializer::new(&mut vec))?; in to_vec()
36 value.serialize(&mut Serializer::new(&mut IoWrite::new(&mut vec)).packed_format())?; in to_vec_packed()
47 value.serialize(&mut Serializer::new(&mut IoWrite::new(writer))) in to_writer()
52 pub struct Serializer<W> { struct
58 impl<W> Serializer<W> implementation
67 Serializer { in new()
210 impl<'a, W> ser::Serializer for &'a mut Serializer<W> implementation
218 type SerializeTuple = &'a mut Serializer<W>;
219 type SerializeTupleStruct = &'a mut Serializer<W>;
220 type SerializeTupleVariant = &'a mut Serializer<W>;
443 fn serialize_tuple(self, len: usize) -> Result<&'a mut Serializer<W>> { in serialize_tuple()
453 ) -> Result<&'a mut Serializer<W>> { in serialize_tuple_struct()
464 ) -> Result<&'a mut Serializer<W>> { in serialize_tuple_variant()
523 impl<'a, W> ser::SerializeTuple for &'a mut Serializer<W> implementation
544 impl<'a, W> ser::SerializeTupleStruct for &'a mut Serializer<W> implementation
565 impl<'a, W> ser::SerializeTupleVariant for &'a mut Serializer<W> implementation
588 ser: &'a mut Serializer<W>,
677 ser: &'a mut Serializer<W>,