pub enum YamlLocation {
Frontmatter,
Hashpipe,
}Expand description
Where in a document the YAML lives. Frontmatter is read by pandoc (and, in
Quarto, also js-yaml); hashpipe #| cell options are read by the executable
engine (js-yaml for Quarto, the R yaml package for RMarkdown).
Variants§
Trait Implementations§
Source§impl Clone for YamlLocation
impl Clone for YamlLocation
Source§fn clone(&self) -> YamlLocation
fn clone(&self) -> YamlLocation
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 YamlLocation
Source§impl Debug for YamlLocation
impl Debug for YamlLocation
impl Eq for YamlLocation
Source§impl PartialEq for YamlLocation
impl PartialEq for YamlLocation
Source§fn eq(&self, other: &YamlLocation) -> bool
fn eq(&self, other: &YamlLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for YamlLocation
Auto Trait Implementations§
impl Freeze for YamlLocation
impl RefUnwindSafe for YamlLocation
impl Send for YamlLocation
impl Sync for YamlLocation
impl Unpin for YamlLocation
impl UnsafeUnpin for YamlLocation
impl UnwindSafe for YamlLocation
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