[−][src]Struct weechat::config::ConfigSection
Weechat Configuration section
Methods
impl ConfigSection
[src]
pub fn new_string_option<D>(
&self,
name: &str,
description: &str,
default_value: &str,
value: &str,
null_allowed: bool,
change_cb: Option<fn(_: &mut D, _: &StringOption)>,
change_cb_data: Option<D>
) -> StringOption where
D: Default,
[src]
&self,
name: &str,
description: &str,
default_value: &str,
value: &str,
null_allowed: bool,
change_cb: Option<fn(_: &mut D, _: &StringOption)>,
change_cb_data: Option<D>
) -> StringOption where
D: Default,
Create a new Weechat configuration option.
name
- Name of the new option
pub fn new_integer_option<D>(
&self,
name: &str,
description: &str,
string_values: &str,
min: i32,
max: i32,
default_value: &str,
value: &str,
null_allowed: bool,
change_cb: Option<fn(_: &mut D, _: &IntegerOption)>,
change_cb_data: Option<D>
) -> IntegerOption where
D: Default,
[src]
&self,
name: &str,
description: &str,
string_values: &str,
min: i32,
max: i32,
default_value: &str,
value: &str,
null_allowed: bool,
change_cb: Option<fn(_: &mut D, _: &IntegerOption)>,
change_cb_data: Option<D>
) -> IntegerOption where
D: Default,
Trait Implementations
impl Drop for ConfigSection
[src]
Auto Trait Implementations
impl !Send for ConfigSection
impl !Sync for ConfigSection
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,