#[non_exhaustive]pub enum MarkdownFenceClosing {
Optional,
Required,
}Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Optional
Accepts an opening fence even when no matching closing fence is present.
Required
Requires a matching closing fence before stripping the outer fence.
Trait Implementations§
Source§impl Clone for MarkdownFenceClosing
impl Clone for MarkdownFenceClosing
Source§fn clone(&self) -> MarkdownFenceClosing
fn clone(&self) -> MarkdownFenceClosing
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 MarkdownFenceClosing
Source§impl Debug for MarkdownFenceClosing
impl Debug for MarkdownFenceClosing
impl Eq for MarkdownFenceClosing
Source§impl Hash for MarkdownFenceClosing
impl Hash for MarkdownFenceClosing
Source§impl PartialEq for MarkdownFenceClosing
impl PartialEq for MarkdownFenceClosing
impl StructuralPartialEq for MarkdownFenceClosing
Auto Trait Implementations§
impl Freeze for MarkdownFenceClosing
impl RefUnwindSafe for MarkdownFenceClosing
impl Send for MarkdownFenceClosing
impl Sync for MarkdownFenceClosing
impl Unpin for MarkdownFenceClosing
impl UnsafeUnpin for MarkdownFenceClosing
impl UnwindSafe for MarkdownFenceClosing
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