[][src]Struct ini::SectionSetter

pub struct SectionSetter<'a> { /* fields omitted */ }

A setter which could be used to set key-value pair in a specified section

Implementations

impl<'a> SectionSetter<'a>[src]

pub fn set<K, V>(&'a mut self, key: K, value: V) -> &'a mut SectionSetter<'a> where
    K: Into<String>,
    V: Into<String>, 
[src]

Set (replace) key-value pair in this section (all with the same name)

pub fn delete<K: AsRef<str>>(&'a mut self, key: &K) -> &'a mut SectionSetter<'a>[src]

Delete the first entry in this section with key

pub fn get<K: AsRef<str>>(&'a mut self, key: K) -> Option<&'a str>[src]

Get the entry in this section with key

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,