Struct ini::SectionSetter 
source · [−]pub struct SectionSetter<'a> { /* private fields */ }Expand description
A setter which could be used to set key-value pair in a specified section
Implementations
sourceimpl<'a> SectionSetter<'a>
 
impl<'a> SectionSetter<'a>
sourcepub fn set<K, V>(&'a mut self, key: K, value: V) -> &'a mut SectionSetter<'a> where
    K: Into<String>,
    V: Into<String>, 
 
pub fn set<K, V>(&'a mut self, key: K, value: V) -> &'a mut SectionSetter<'a> where
    K: Into<String>,
    V: Into<String>, 
Set (replace) key-value pair in this section (all with the same name)
Auto Trait Implementations
impl<'a> RefUnwindSafe for SectionSetter<'a>
impl<'a> Send for SectionSetter<'a>
impl<'a> Sync for SectionSetter<'a>
impl<'a> Unpin for SectionSetter<'a>
impl<'a> !UnwindSafe for SectionSetter<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more