pub enum OptionValue {
Flag(bool),
Number(i64),
Text(TmuxText),
}Expand description
A value accepted by tmux’s option and environment commands.
Variants§
Flag(bool)
A tmux on/off flag.
Number(i64)
A signed numeric value.
Text(TmuxText)
Byte-preserving textual data.
Implementations§
Trait Implementations§
Source§impl Clone for OptionValue
impl Clone for OptionValue
Source§impl Debug for OptionValue
impl Debug for OptionValue
impl Eq for OptionValue
Source§impl From<&str> for OptionValue
impl From<&str> for OptionValue
Source§impl From<String> for OptionValue
impl From<String> for OptionValue
Source§impl From<TmuxText> for OptionValue
impl From<TmuxText> for OptionValue
Source§impl From<bool> for OptionValue
impl From<bool> for OptionValue
Source§impl From<i64> for OptionValue
impl From<i64> for OptionValue
Source§impl PartialEq for OptionValue
impl PartialEq for OptionValue
impl StructuralPartialEq for OptionValue
Auto Trait Implementations§
impl Freeze for OptionValue
impl RefUnwindSafe for OptionValue
impl Send for OptionValue
impl Sync for OptionValue
impl Unpin for OptionValue
impl UnsafeUnpin for OptionValue
impl UnwindSafe for OptionValue
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