pub enum CalloutKind {
Note,
Tip,
Warning,
Caution,
Important,
Other,
}Expand description
Callout/admonition kind for > [!KIND] blocks. Unknown kinds map to
Other so hosts render them with the default accent instead of failing.
Variants§
Note
Informational note.
Tip
Helpful tip or hint.
Warning
Warning that needs attention.
Caution
Strong caution against an action.
Important
Critical importance marker.
Other
Any other or unrecognized kind; renders with the default accent.
Trait Implementations§
Source§impl Clone for CalloutKind
impl Clone for CalloutKind
Source§fn clone(&self) -> CalloutKind
fn clone(&self) -> CalloutKind
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 CalloutKind
Source§impl Debug for CalloutKind
impl Debug for CalloutKind
impl Eq for CalloutKind
Source§impl Hash for CalloutKind
impl Hash for CalloutKind
Source§impl PartialEq for CalloutKind
impl PartialEq for CalloutKind
impl StructuralPartialEq for CalloutKind
Auto Trait Implementations§
impl Freeze for CalloutKind
impl RefUnwindSafe for CalloutKind
impl Send for CalloutKind
impl Sync for CalloutKind
impl Unpin for CalloutKind
impl UnsafeUnpin for CalloutKind
impl UnwindSafe for CalloutKind
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