Struct ini::ini::Ini
[−]
[src]
pub struct Ini { // some fields omitted }
Methods
impl<'a> Ini
[src]
fn new() -> Ini
fn with_section(&'a mut self, section: Option<&str>) -> SectionSetter<'a>
fn general_section(&'a self) -> &'a Properties
fn general_section_mut(&'a mut self) -> &'a mut Properties
fn section(&'a self, name: Option<&str>) -> Option<&'a Properties>
fn section_mut(&'a mut self, name: Option<&str>) -> Option<&'a mut Properties>
fn entry(&mut self, name: Option<String>) -> Entry<Option<String>, Properties>
fn clear(&'a mut self)
fn sections(&'a self) -> Keys<'a, Option<String>, Properties>
fn get_from(&'a self, section: Option<&str>, key: &str) -> Option<&'a str>
fn get_from_or(&'a self, section: Option<&str>, key: &str, default: &'a str) -> &'a str
fn get_from_mut(&'a mut self, section: Option<&str>, key: &str) -> Option<&'a mut String>
fn delete(&'a mut self, section: Option<&str>) -> Option<Properties>
impl Ini
[src]
fn write_to_file(&self, filename: &str) -> Result<()>
fn write_to(&self, writer: &mut Write) -> Result<()>
impl Ini
[src]
fn load_from_str(buf: &str) -> Result<Ini, Error>
fn read_from(reader: &mut Read) -> Result<Ini, Error>
fn load_from_file(filename: &str) -> Result<Ini, Error>
impl Ini
[src]
fn iter<'a>(&'a self) -> SectionIterator<'a>
fn mut_iter<'a>(&'a mut self) -> SectionMutIterator<'a>
Trait Implementations
impl<'q> Index<&'q Option<&'q str>> for Ini
[src]
type Output = Properties
The returned type after indexing
fn index<'a>(&'a self, index: &Option<&'q str>) -> &'a Properties
The method for the indexing (Foo[Bar]
) operation
impl<'q> IndexMut<&'q Option<&'q str>> for Ini
[src]
fn index_mut<'a>(&'a mut self, index: &Option<&'q str>) -> &'a mut Properties
The method for the indexing (Foo[Bar]
) operation
impl<'q> Index<&'q str> for Ini
[src]
type Output = Properties
The returned type after indexing
fn index<'a>(&'a self, index: &'q str) -> &'a Properties
The method for the indexing (Foo[Bar]
) operation
impl<'q> IndexMut<&'q str> for Ini
[src]
fn index_mut<'a>(&'a mut self, index: &'q str) -> &'a mut Properties
The method for the indexing (Foo[Bar]
) operation
impl<'q> Index<&'q Option<String>> for Ini
[src]
type Output = Properties
The returned type after indexing
fn index<'a>(&'a self, index: &'q Option<String>) -> &'a Properties
The method for the indexing (Foo[Bar]
) operation
impl<'q> IndexMut<&'q Option<String>> for Ini
[src]
fn index_mut<'a>(&'a mut self, index: &'q Option<String>) -> &'a mut Properties
The method for the indexing (Foo[Bar]
) operation
impl<'q> Index<&'q String> for Ini
[src]
type Output = Properties
The returned type after indexing
fn index<'a>(&'a self, index: &'q String) -> &'a Properties
The method for the indexing (Foo[Bar]
) operation
impl<'q> IndexMut<&'q String> for Ini
[src]
fn index_mut<'a>(&'a mut self, index: &'q String) -> &'a mut Properties
The method for the indexing (Foo[Bar]
) operation