pub struct DiagnosticGlyphs {
pub error: char,
pub warning: char,
pub info: char,
pub hint: char,
}Expand description
The four ui.diagnostic-*-glyph values, read once by the caller so
lattice-mode needs no typed-options dependency.
Fields§
§error: charui.diagnostic-error-glyph (default ■).
warning: charui.diagnostic-warning-glyph (default ▲).
info: charui.diagnostic-info-glyph (default ●).
hint: charui.diagnostic-hint-glyph (default ·).
Trait Implementations§
Source§impl Clone for DiagnosticGlyphs
impl Clone for DiagnosticGlyphs
Source§fn clone(&self) -> DiagnosticGlyphs
fn clone(&self) -> DiagnosticGlyphs
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 DiagnosticGlyphs
Source§impl Debug for DiagnosticGlyphs
impl Debug for DiagnosticGlyphs
Source§impl Default for DiagnosticGlyphs
impl Default for DiagnosticGlyphs
impl Eq for DiagnosticGlyphs
Source§impl PartialEq for DiagnosticGlyphs
impl PartialEq for DiagnosticGlyphs
impl StructuralPartialEq for DiagnosticGlyphs
Auto Trait Implementations§
impl Freeze for DiagnosticGlyphs
impl RefUnwindSafe for DiagnosticGlyphs
impl Send for DiagnosticGlyphs
impl Sync for DiagnosticGlyphs
impl Unpin for DiagnosticGlyphs
impl UnsafeUnpin for DiagnosticGlyphs
impl UnwindSafe for DiagnosticGlyphs
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.