pub struct StatusBarInfo {
pub session_name: String,
pub tabs: Vec<TabInfo>,
pub active_tab: usize,
pub notification_count: usize,
pub hostname: String,
pub powerline: bool,
}Expand description
Information needed to render the status bar.
Fields§
§session_name: StringCurrent session name.
tabs: Vec<TabInfo>Tab names with active index.
active_tab: usizeIndex of the currently active tab.
notification_count: usizeNumber of unread notifications.
hostname: StringHostname.
powerline: boolWhether to use Powerline separators.
Trait Implementations§
Source§impl Clone for StatusBarInfo
impl Clone for StatusBarInfo
Source§fn clone(&self) -> StatusBarInfo
fn clone(&self) -> StatusBarInfo
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 StatusBarInfo
impl RefUnwindSafe for StatusBarInfo
impl Send for StatusBarInfo
impl Sync for StatusBarInfo
impl Unpin for StatusBarInfo
impl UnsafeUnpin for StatusBarInfo
impl UnwindSafe for StatusBarInfo
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