Enum plist::Plist [] [src]

pub enum Plist {
    Array(Vec<Plist>),
    Dict(HashMap<String, Plist, BuildHasherDefault<FnvHasher>>),
    Boolean(bool),
    Data(Vec<u8>),
    DateTime(SystemTime),
    Real(f64),
    Integer(i64),
    String(String),
}

Represents a property list value.

Variants

An array or vector of plist objects

A dictionary or hash map of plist objects, keyed by string

A boolean value

A data value

A date value

A floating point value

An integer value

A string value

Methods

impl Plist
[src]

Decodes a binary property list value from a reader.

Decodes an XML property list value from a reader.

Decodes a binary or XML property list value from a reader, based on the presence of the binary plist magic bytes.

Trait Implementations

impl Debug for Plist
[src]

Formats the value using the given formatter.

impl Clone for Plist
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Plist
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.