pub enum MessageFormat {
Plain,
Pango,
I3Bar,
}
Expand description
The format of a status command output.
Variants§
Plain
The output is plain text.
The command should output one line every time it wants to change the status. The content of the line will be interpreted as plain text.
Pango
The output uses pango markup.
The command should output one line every time it wants to change the status. The content of the line will be interpreted as pango markup.
I3Bar
The output uses the i3bar protocol.
The separator between individual components can be set using set_i3bar_separator
.
Trait Implementations§
Source§impl Clone for MessageFormat
impl Clone for MessageFormat
Source§fn clone(&self) -> MessageFormat
fn clone(&self) -> MessageFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MessageFormat
impl Debug for MessageFormat
Source§impl Hash for MessageFormat
impl Hash for MessageFormat
Source§impl PartialEq for MessageFormat
impl PartialEq for MessageFormat
impl Copy for MessageFormat
impl Eq for MessageFormat
impl StructuralPartialEq for MessageFormat
Auto Trait Implementations§
impl Freeze for MessageFormat
impl RefUnwindSafe for MessageFormat
impl Send for MessageFormat
impl Sync for MessageFormat
impl Unpin for MessageFormat
impl UnwindSafe for MessageFormat
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