pub struct StatusLineFmt { /* private fields */ }Expand description
A builder for StatusLines
This struct is created by the [status!] macro, and its purpose
is mainly to allow formatting of the StatusLine.
There is also the StatusLineFmt::above method, which places
the StatusLine above, rather than below.
Implementations§
Source§impl StatusLineFmt
impl StatusLineFmt
Sourcepub fn push_on(
self,
pa: &mut Pass,
push_target: &impl PushTarget,
) -> Handle<StatusLine>
pub fn push_on( self, pa: &mut Pass, push_target: &impl PushTarget, ) -> Handle<StatusLine>
Push the StatusLine
If the handle’s Widget is a Buffer, then this
StatusLine will refer to it when printing information about
Buffers. Otherwise, the StatusLine will print information
about the currently active Buffer.
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
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatusLineFmt
impl !RefUnwindSafe for StatusLineFmt
impl Send for StatusLineFmt
impl !Sync for StatusLineFmt
impl Unpin for StatusLineFmt
impl UnsafeUnpin for StatusLineFmt
impl !UnwindSafe for StatusLineFmt
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