pub enum ConcealMode {
Off,
Dimmed,
Hidden,
}Expand description
Display mode for markdown syntax delimiters (like # , **, *, ~~, `) on inactive lines.
Variants§
Off
Markdown markers are always visible with normal syntax coloring.
Dimmed
Markdown markers on inactive lines are rendered with faint opacity.
Hidden
Markdown markers on inactive lines are completely hidden (invisible).
Trait Implementations§
Source§impl Clone for ConcealMode
impl Clone for ConcealMode
Source§fn clone(&self) -> ConcealMode
fn clone(&self) -> ConcealMode
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 ConcealMode
Source§impl Debug for ConcealMode
impl Debug for ConcealMode
Source§impl Default for ConcealMode
impl Default for ConcealMode
Source§fn default() -> ConcealMode
fn default() -> ConcealMode
Returns the “default value” for a type. Read more
impl Eq for ConcealMode
Source§impl PartialEq for ConcealMode
impl PartialEq for ConcealMode
Source§fn eq(&self, other: &ConcealMode) -> bool
fn eq(&self, other: &ConcealMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConcealMode
Auto Trait Implementations§
impl Freeze for ConcealMode
impl RefUnwindSafe for ConcealMode
impl Send for ConcealMode
impl Sync for ConcealMode
impl Unpin for ConcealMode
impl UnsafeUnpin for ConcealMode
impl UnwindSafe for ConcealMode
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