Struct plist::Serializer [] [src]

pub struct Serializer<W: EventWriter> {
    // some fields omitted
}

Methods

impl<W: EventWriter> Serializer<W>
[src]

Trait Implementations

impl<W: EventWriter> SerdeSerializer for Serializer<W>
[src]

The error type that can be returned if some error occurs during serialization.

Serializes a bool value.

Serializes a i64 value.

Serializes au64` value.

Serializes a f64 value.

Serializes a &str.

Enables those serialization formats that support serializing byte slices separately from generic arrays. By default it serializes as a regular array. Read more

Serializes a () value.

Serializes a None value..serialize

Serializes a Some(...) value.

Serializes a sequence. Read more

Serializes a sequence element.

Serializes a map. Read more

Serializes a map element (key-value pair).

Serializes a unit variant, otherwise known as a variant with no arguments. Read more

Allows a tuple struct with a single element, also known as a newtyped value, to be more efficiently serialized than a tuple struct with multiple items. By default it just serializes the value as a tuple struct sequence. Read more

Allows a variant with a single item to be more efficiently serialized than a variant with multiple items. By default it just serializes the value as a tuple variant sequence. Read more

Serializes a tuple variant. Read more

Serializes a struct variant. Read more

Serializes a isize value. By default it casts the value to a i64 and passes it to the serialize_i64 method. Read more

Serializes a i8 value. By default it casts the value to a i64 and passes it to the serialize_i64 method. Read more

Serializes a i16 value. By default it casts the value to a i64 and passes it to the serialize_i64 method. Read more

Serializes a i32 value. By default it casts the value to a i64 and passes it to the serialize_i64 method. Read more

Serializes a usize value. By default it casts the value to a u64 and passes it to the serialize_u64 method. Read more

Serializes a u8 value. By default it casts the value to a u64 and passes it to the serialize_u64 method. Read more

Serializes a u32 value. By default it casts the value to a u64 and passes it to the serialize_u64 method. Read more

Serializes a u32 value. By default it casts the value to a u64 and passes it to the serialize_u64 method. Read more

Serializes a f32 value. By default it casts the value to a f64 and passes it to the serialize_f64 method. Read more

Serializes a character. By default it serializes it as a &str containing a single character. Read more

Serializes a unit struct value. Read more

Serializes a tuple. Read more

Serializes a tuple element. Read more

Serializes a fixed-size array. Read more

Serializes a tuple struct. Read more

Serializes a tuple struct element. Read more

Serializes a tuple element. Read more

Serializes a struct. Read more

Serializes an element of a struct. Read more

Serializes an element of a struct variant. Read more