pub struct Tab {
pub id: i32,
pub pinned: bool,
pub current: usize,
pub history: Vec<Nav>,
}Expand description
A reconstructed tab: its history and which entry is current.
Fields§
§id: i32SessionID for this tab.
pinned: boolWhether the tab is pinned (Chrome shows pinned tabs first).
current: usizePosition within Tab::history of the current entry (already
resolved from the selected-navigation-index command, or the last entry).
history: Vec<Nav>History entries in ascending on-disk index order, deduplicated so only the latest append for each index survives.
Implementations§
Trait Implementations§
impl Eq for Tab
impl StructuralPartialEq for Tab
Auto Trait Implementations§
impl Freeze for Tab
impl RefUnwindSafe for Tab
impl Send for Tab
impl Sync for Tab
impl Unpin for Tab
impl UnsafeUnpin for Tab
impl UnwindSafe for Tab
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