pub enum StatusBarLayoutItem {
Text(String),
Persentage,
LineCount,
CurrentLine,
Title,
}
Expand description
Layout items for StatusBar.
Variants§
Text(String)
Display static text.
Persentage
Display pesrsentage of current position to bottom.
LineCount
Display total line count.
CurrentLine
Display current line
Title
Display title of StatusBar
See: StatusBar::title
Trait Implementations§
Source§impl Clone for StatusBarLayoutItem
impl Clone for StatusBarLayoutItem
Source§fn clone(&self) -> StatusBarLayoutItem
fn clone(&self) -> StatusBarLayoutItem
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for StatusBarLayoutItem
impl RefUnwindSafe for StatusBarLayoutItem
impl Send for StatusBarLayoutItem
impl Sync for StatusBarLayoutItem
impl Unpin for StatusBarLayoutItem
impl UnwindSafe for StatusBarLayoutItem
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