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]
impl<'a> SectionSetter<'a>
pub fn set<K, V>(&'a mut self, key: K, value: V) -> &'a mut SectionSetter<'a> where
K: Into<String>,
V: Into<String>,
[src]
pub 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
pub fn delete<K: ?Sized>(&'a mut self, key: &K) -> &'a mut SectionSetter<'a> where
String: Borrow<K>,
K: Hash + Eq,
[src]
pub fn delete<K: ?Sized>(&'a mut self, key: &K) -> &'a mut SectionSetter<'a> where
String: Borrow<K>,
K: Hash + Eq,
Delete the entry in this section with key
pub fn get<K: ?Sized>(&'a mut self, key: &K) -> Option<&'a str> where
String: Borrow<K>,
K: Hash + Eq,
[src]
pub fn get<K: ?Sized>(&'a mut self, key: &K) -> Option<&'a str> where
String: Borrow<K>,
K: Hash + Eq,
Get the entry in this section with key
Auto Trait Implementations
impl<'a> Send for SectionSetter<'a>
impl<'a> Send for SectionSetter<'a>
impl<'a> Sync for SectionSetter<'a>
impl<'a> Sync for SectionSetter<'a>