Struct ion::Ion [] [src]

pub struct Ion {
    // some fields omitted
}

Methods

impl Ion
[src]

fn new(map: BTreeMap<StringSection>) -> Ion

fn get(&self, key: &str) -> Option<&Section>

fn fetch(&self, key: &str) -> Result<&SectionIonError>

fn remove(&mut self, key: &str) -> Option<Section>

Removes a Section from the ion structure and returning it

fn iter(&self) -> Iter<StringSection>

Trait Implementations

impl Display for Ion
[src]

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Debug for Ion
[src]

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

Formats the value using the given formatter.

impl FromStr for Ion
[src]

type Err = IonError

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<IonIonError>

Parses a string s to return a value of this type. Read more