pub struct SectionHandle<'a> { /* private fields */ }
Expand description
A handle to a Weechat config section.
Methods from Deref<Target = ConfigSection>§
Sourcepub fn options(&self) -> Vec<ConfigOption<'_>>
pub fn options(&self) -> Vec<ConfigOption<'_>>
Get the config options of this section.
Sourcepub fn search_option(&self, option_name: &str) -> Option<ConfigOption<'_>>
pub fn search_option(&self, option_name: &str) -> Option<ConfigOption<'_>>
Search for an option in this section.
§Arguments
option_name
- The name of the option to search for.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SectionHandle<'a>
impl<'a> !RefUnwindSafe for SectionHandle<'a>
impl<'a> !Send for SectionHandle<'a>
impl<'a> !Sync for SectionHandle<'a>
impl<'a> Unpin for SectionHandle<'a>
impl<'a> !UnwindSafe for SectionHandle<'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