pub enum FormatValue<'a> {
Text(&'a TmuxText),
Bool(bool),
Signed(i64),
Unsigned(u64),
Timestamp(u64),
Id(&'a str),
}Expand description
A value decoded according to a FormatDescriptor.
Variants§
Text(&'a TmuxText)
Byte-preserving text.
Bool(bool)
A boolean flag.
Signed(i64)
A signed integer.
Unsigned(u64)
An unsigned integer.
Timestamp(u64)
A Unix timestamp.
Id(&'a str)
An identity in its validated textual representation.
Trait Implementations§
Source§impl<'a> Clone for FormatValue<'a>
impl<'a> Clone for FormatValue<'a>
Source§impl<'a> Debug for FormatValue<'a>
impl<'a> Debug for FormatValue<'a>
impl<'a> Eq for FormatValue<'a>
Source§impl<'a> PartialEq for FormatValue<'a>
impl<'a> PartialEq for FormatValue<'a>
impl<'a> StructuralPartialEq for FormatValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for FormatValue<'a>
impl<'a> RefUnwindSafe for FormatValue<'a>
impl<'a> Send for FormatValue<'a>
impl<'a> Sync for FormatValue<'a>
impl<'a> Unpin for FormatValue<'a>
impl<'a> UnsafeUnpin for FormatValue<'a>
impl<'a> UnwindSafe for FormatValue<'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