pub struct BufferEntry {
pub id: u32,
pub kind_label: String,
pub path: Option<PathBuf>,
pub title: String,
pub dirty: bool,
}Expand description
One buffer in the registry, projected for picker rows.
kind_label is a display string – the picker primitive
stays oblivious to the actual BufferKind enum so the
“no kind-specific logic” rule (CLAUDE.md memory) holds at
this seam too.
Fields§
§id: u32§kind_label: String§path: Option<PathBuf>§title: String§dirty: boolTrait Implementations§
Source§impl Clone for BufferEntry
impl Clone for BufferEntry
Source§fn clone(&self) -> BufferEntry
fn clone(&self) -> BufferEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BufferEntry
impl Debug for BufferEntry
impl Eq for BufferEntry
Source§impl PartialEq for BufferEntry
impl PartialEq for BufferEntry
impl StructuralPartialEq for BufferEntry
Auto Trait Implementations§
impl Freeze for BufferEntry
impl RefUnwindSafe for BufferEntry
impl Send for BufferEntry
impl Sync for BufferEntry
impl Unpin for BufferEntry
impl UnsafeUnpin for BufferEntry
impl UnwindSafe for BufferEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.