[−][src]Struct weechat::config::SectionHandle
A handle to a Weechat config section.
Methods from Deref<Target = ConfigSection>
pub fn name(&self) -> &str
[src]
Get the name of the section.
pub fn options(&self) -> Vec<ConfigOption<'_>>
[src]
Get the config options of this section.
pub fn search_option(&self, option_name: &str) -> Option<ConfigOption<'_>>
[src]
Trait Implementations
impl<'a> Deref for SectionHandle<'a>
[src]
type Target = ConfigSection
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Auto Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,