pub struct StatusLineCfg<U: Ui> { /* private fields */ }Expand description
The WidgetCfg for a StatusLine
Implementations§
Source§impl<U: Ui> StatusLineCfg<U>
impl<U: Ui> StatusLineCfg<U>
Sourcepub fn above(self) -> Self
pub fn above(self) -> Self
Puts the StatusLine above, as opposed to below
Sourcepub fn below(self) -> Self
pub fn below(self) -> Self
Puts the StatusLine below, this is the default
Sourcepub fn right_ratioed(self, den: u16, div: u16) -> Self
pub fn right_ratioed(self, den: u16, div: u16) -> Self
Puts the StatusLine on the right, instead of below
use this if you want a single line StatusLine,
PromptLine/Notifications combo.
Trait Implementations§
Source§impl<U: Ui> Default for StatusLineCfg<U>
impl<U: Ui> Default for StatusLineCfg<U>
Auto Trait Implementations§
impl<U> Freeze for StatusLineCfg<U>
impl<U> !RefUnwindSafe for StatusLineCfg<U>
impl<U> Send for StatusLineCfg<U>
impl<U> !Sync for StatusLineCfg<U>
impl<U> Unpin for StatusLineCfg<U>
impl<U> !UnwindSafe for StatusLineCfg<U>
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