Struct ini::ini::SectionSetter
[−]
[src]
pub struct SectionSetter<'a> { /* fields omitted */ }
A setter which could be used to set key-value pair in a specified section
Methods
impl<'a> SectionSetter<'a>
[src]
fn set<K, V>(&'a mut self, key: K, value: V) -> &'a mut SectionSetter<'a> where K: Into<String>, V: Into<String>
Set key-value pair in this section
fn delete<K>(&'a mut self, key: &K) -> &'a mut SectionSetter<'a> where String: Borrow<K>, K: Hash + Eq
Delete the entry in this section with key
fn get<K>(&'a mut self, key: &K) -> Option<&'a str> where String: Borrow<K>, K: Hash + Eq
Get the entry in this section with key