pub enum CustomBlockType {
Note,
Warning,
Tip,
Info,
Important,
Caution,
}
Expand description
Represents different types of custom blocks.
Variants§
Note
A note block.
Warning
A warning block.
Tip
A tip block.
Info
An info block.
Important
An important block.
Caution
A caution block.
Implementations§
Trait Implementations§
Source§impl Clone for CustomBlockType
impl Clone for CustomBlockType
Source§fn clone(&self) -> CustomBlockType
fn clone(&self) -> CustomBlockType
Returns a copy 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 moreSource§impl Debug for CustomBlockType
impl Debug for CustomBlockType
Source§impl FromStr for CustomBlockType
impl FromStr for CustomBlockType
Source§impl PartialEq for CustomBlockType
impl PartialEq for CustomBlockType
impl Copy for CustomBlockType
impl StructuralPartialEq for CustomBlockType
Auto Trait Implementations§
impl Freeze for CustomBlockType
impl RefUnwindSafe for CustomBlockType
impl Send for CustomBlockType
impl Sync for CustomBlockType
impl Unpin for CustomBlockType
impl UnwindSafe for CustomBlockType
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