Enum plist::Plist [] [src]

pub enum Plist {
    Array(Vec<Plist>),
    Dictionary(BTreeMap<StringPlist>),
    Boolean(bool),
    Data(Vec<u8>),
    Date(DateTime<UTC>),
    Real(f64),
    Integer(i64),
    String(String),
}

Variants

Array(Vec<Plist>)Dictionary(BTreeMap<StringPlist>)Boolean(bool)Data(Vec<u8>)Date(DateTime<UTC>)Real(f64)Integer(i64)String(String)

Methods

impl Plist
[src]

fn read<R: Read + Seek>(reader: R) -> Result<Plist>

fn from_events<T>(events: T) -> Result<Plist> where T: IntoIterator<Item=Result<PlistEvent>>

fn into_events(self) -> Vec<PlistEvent>

fn into_rustc_serialize_json(self) -> RustcJson

Trait Implementations

impl PartialEq for Plist
[src]

fn eq(&self, __arg_0: &Plist) -> bool

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

fn ne(&self, __arg_0: &Plist) -> bool

This method tests for !=.

impl Debug for Plist
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Plist
[src]

fn clone(&self) -> Plist

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more