Enum hexchat_api::PrefValue
source · pub enum PrefValue {
StringVal(String),
IntegerVal(i32),
BoolVal(bool),
}
Expand description
Represents the values that can be accessed using the prefs functions of
the Hexchat
object (hc.pluginpref_get()
, hc.pluginpref_get()
, etc.).
The enumeration enables the typing of the values stored and retrieved.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PrefValue
impl Send for PrefValue
impl Sync for PrefValue
impl Unpin for PrefValue
impl UnwindSafe for PrefValue
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