pub enum FrontmatterKind {
Yaml,
Toml,
}Expand description
The format of a Frontmatter block.
Variants§
Trait Implementations§
Source§impl Clone for FrontmatterKind
impl Clone for FrontmatterKind
Source§fn clone(&self) -> FrontmatterKind
fn clone(&self) -> FrontmatterKind
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 FrontmatterKind
Source§impl Debug for FrontmatterKind
impl Debug for FrontmatterKind
impl Eq for FrontmatterKind
Source§impl PartialEq for FrontmatterKind
impl PartialEq for FrontmatterKind
Source§fn eq(&self, other: &FrontmatterKind) -> bool
fn eq(&self, other: &FrontmatterKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrontmatterKind
Auto Trait Implementations§
impl Freeze for FrontmatterKind
impl RefUnwindSafe for FrontmatterKind
impl Send for FrontmatterKind
impl Sync for FrontmatterKind
impl Unpin for FrontmatterKind
impl UnsafeUnpin for FrontmatterKind
impl UnwindSafe for FrontmatterKind
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