pub enum CodeBlockKind {
Fenced {
info: Option<Range>,
},
Indented,
}Expand description
The source form of a code block.
Variants§
Fenced
A backtick- or tilde-fenced code block.
Indented
A code block introduced by four columns of indentation.
Trait Implementations§
Source§impl Clone for CodeBlockKind
impl Clone for CodeBlockKind
Source§fn clone(&self) -> CodeBlockKind
fn clone(&self) -> CodeBlockKind
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 CodeBlockKind
Source§impl Debug for CodeBlockKind
impl Debug for CodeBlockKind
impl Eq for CodeBlockKind
Source§impl PartialEq for CodeBlockKind
impl PartialEq for CodeBlockKind
impl StructuralPartialEq for CodeBlockKind
Auto Trait Implementations§
impl Freeze for CodeBlockKind
impl RefUnwindSafe for CodeBlockKind
impl Send for CodeBlockKind
impl Sync for CodeBlockKind
impl Unpin for CodeBlockKind
impl UnsafeUnpin for CodeBlockKind
impl UnwindSafe for CodeBlockKind
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