pub struct PaneHistoryRow {
pub index: u32,
pub label: String,
pub line: u32,
pub is_current: bool,
}Expand description
PBH.5: one row of the active pane’s buffer trail, flattened for the picker.
Carries the trail index rather than a buffer id: the same buffer can appear at several points in a trail, and accepting the third stop must land on the third stop, not the first occurrence.
Fields§
§index: u32Position in the trail, oldest-first. The accept payload.
label: StringDisplay label — the buffer’s name or path.
line: u32Line the trail recorded for this stop (1-based for display).
is_current: boolWhether the walk cursor currently sits on this entry.
Auto Trait Implementations§
impl Freeze for PaneHistoryRow
impl RefUnwindSafe for PaneHistoryRow
impl Send for PaneHistoryRow
impl Sync for PaneHistoryRow
impl Unpin for PaneHistoryRow
impl UnsafeUnpin for PaneHistoryRow
impl UnwindSafe for PaneHistoryRow
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