pub struct FileTreeNerdFonts(pub bool);Expand description
Whether the file-tree renders nerd-font icon glyphs inline.
Tuple Fields§
§0: boolTrait Implementations§
Source§impl BufferLocal for FileTreeNerdFonts
impl BufferLocal for FileTreeNerdFonts
Source§const NAME: &'static str = "file-tree-mode.nerd-fonts"
const NAME: &'static str = "file-tree-mode.nerd-fonts"
Public display name (
:describe-buffer row label,
debug logs). Convention: <owner-mode-name>.<key>,
e.g. "file-tree.entries". Not a registry key — locals
aren’t registered globally; the name is metadata for
inspection.Source§const DOC: &'static str = "Whether the file-tree buffer's rendered rope embeds \
nerd-font icon glyphs alongside file names."
const DOC: &'static str = "Whether the file-tree buffer's rendered rope embeds \ nerd-font icon glyphs alongside file names."
Doc string. Shown in
:describe-buffer when the user
expands a local for detail.Source§const OWNER_MODE: &'static str = "file-tree-mode"
const OWNER_MODE: &'static str = "file-tree-mode"
Mode id that owns this local. Attribution metadata for
:describe-buffer; the write-time check the design calls for
(a ModeContext::set_local::<T> that rejects a non-owner) is not
implemented, so nothing enforces it today (see the module docs).Source§impl Clone for FileTreeNerdFonts
impl Clone for FileTreeNerdFonts
Source§fn clone(&self) -> FileTreeNerdFonts
fn clone(&self) -> FileTreeNerdFonts
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 moreimpl Copy for FileTreeNerdFonts
Auto Trait Implementations§
impl Freeze for FileTreeNerdFonts
impl RefUnwindSafe for FileTreeNerdFonts
impl Send for FileTreeNerdFonts
impl Sync for FileTreeNerdFonts
impl Unpin for FileTreeNerdFonts
impl UnsafeUnpin for FileTreeNerdFonts
impl UnwindSafe for FileTreeNerdFonts
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