pub struct Window {
pub id: i32,
pub tabs: Vec<Tab>,
pub last_active: Option<SystemTime>,
}Expand description
A reconstructed window holding ordered tabs.
Fields§
§id: i32SessionID for this window (0 for the synthetic window holding closed tabs).
tabs: Vec<Tab>Tabs in left-to-right order (pinned tabs sort first, as on disk).
last_active: Option<SystemTime>Most recent tab activity in this window, if any timestamps were present.
Trait Implementations§
impl Eq for Window
impl StructuralPartialEq for Window
Auto Trait Implementations§
impl Freeze for Window
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnsafeUnpin for Window
impl UnwindSafe for Window
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