pub struct SectionSetter<'a> { /* private fields */ }
Expand description
A setter which could be used to set key-value pair in a specified section
Implementations§
source§impl<'a> SectionSetter<'a>
impl<'a> SectionSetter<'a>
sourcepub fn set<K, V>(&'a mut self, key: K, value: V) -> &'a mut SectionSetter<'a>
pub fn set<K, V>(&'a mut self, key: K, value: V) -> &'a mut SectionSetter<'a>
Set (replace) key-value pair in this section (all with the same name)
Auto Trait Implementations§
impl<'a> Freeze for SectionSetter<'a>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more