pub struct Section<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Section<'a>
impl<'a> Section<'a>
pub fn insert(&mut self, key: &'a str, value: &'a str)
pub fn get(&self, key: &str) -> Option<&'a str>
pub fn get_boxed(&self, key: &str) -> Option<Box<str>>
pub fn get_path_boxed(&self, key: &str) -> Option<Box<Path>>
pub fn get_boolean(&self, key: &str) -> Option<bool>
pub fn values(&'a self) -> impl Iterator<Item = &'a str>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Section<'a>
impl<'a> RefUnwindSafe for Section<'a>
impl<'a> Send for Section<'a>
impl<'a> Sync for Section<'a>
impl<'a> Unpin for Section<'a>
impl<'a> UnwindSafe for Section<'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