pub struct BufferMeta {
pub id: BufferId,
pub kind: BufferKind,
pub display_name: String,
pub path: Option<PathBuf>,
pub dirty: bool,
pub is_new_file: bool,
}Expand description
Buffer metadata tracked by session management.
Fields§
§id: BufferId§kind: BufferKind§display_name: String§path: Option<PathBuf>§dirty: bool§is_new_file: boolTrait Implementations§
Source§impl Clone for BufferMeta
impl Clone for BufferMeta
Source§fn clone(&self) -> BufferMeta
fn clone(&self) -> BufferMeta
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 BufferMeta
impl RefUnwindSafe for BufferMeta
impl Send for BufferMeta
impl Sync for BufferMeta
impl Unpin for BufferMeta
impl UnsafeUnpin for BufferMeta
impl UnwindSafe for BufferMeta
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