diff options
| author | Edward Barnard | 2015-12-24 19:37:13 +0000 |
|---|---|---|
| committer | Edward Barnard | 2015-12-24 19:37:13 +0000 |
| commit | 816ca9ed5db5b42c19dd9e53e3af903e8efec00b (patch) | |
| tree | ee06e366c826379b3ca8fe662d317211dd6358c9 | |
| parent | 722f4421b97f7f4174314a29cf22cb974140a22c (diff) | |
| download | rust-plist-816ca9ed5db5b42c19dd9e53e3af903e8efec00b.tar.bz2 | |
Add some information about PlistEvent
| -rw-r--r-- | src/lib.rs | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -135,6 +135,20 @@ impl Plist { } } +/// An encoding of a plist as a flat structure. +/// +/// Output by the event readers. +/// +/// Dictionary keys and values are represented as pairs of values e.g.: +/// +/// ```ignore rust +/// StartDictionary +/// StringValue("Height") // Key +/// RealValue(181.2) // Value +/// StringValue("Age") // Key +/// IntegerValue(28) // Value +/// EndDictionary +/// ``` #[derive(Clone, Debug, PartialEq)] pub enum PlistEvent { StartPlist, |
