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
Array(Vec<Plist>)
An array or vector of plist objects
Dict(HashMap<String, Plist, BuildHasherDefault<FnvHasher>>)
A dictionary or hash map of plist objects, keyed by string
Boolean(bool)
A boolean value
Data(Vec<u8>)
A data value
DateTime(SystemTime)
A date value
Real(f64)
A floating point value
Integer(i64)
An integer value
String(String)
A string value
Methods
impl Plist
[src]
fn from_binary_reader<R: Read + Seek>(input: &mut R) -> Result<Self>
Decodes a binary property list value from a reader.
fn from_xml_reader<R: Read>(input: &mut R) -> Result<Self>
Decodes an XML property list value from a reader.
fn from_reader<R: Read + Seek>(input: &mut R) -> Result<Self>
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]
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