Struct subplot::YamlMetadata
source · pub struct YamlMetadata { /* private fields */ }
Expand description
Document metadata.
This is expressed in the Markdown input file as an embedded YAML block.
Note that this structure needs to be able to capture any metadata block we can work with, in any input file. By being strict here we make it easier to tell the user when a metadata block has, say, a misspelled field.
Implementations§
source§impl YamlMetadata
impl YamlMetadata
Trait Implementations§
source§impl Clone for YamlMetadata
impl Clone for YamlMetadata
source§fn clone(&self) -> YamlMetadata
fn clone(&self) -> YamlMetadata
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 YamlMetadata
impl Debug for YamlMetadata
source§impl Default for YamlMetadata
impl Default for YamlMetadata
source§fn default() -> YamlMetadata
fn default() -> YamlMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for YamlMetadata
impl<'de> Deserialize<'de> for YamlMetadata
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for YamlMetadata
impl RefUnwindSafe for YamlMetadata
impl Send for YamlMetadata
impl Sync for YamlMetadata
impl Unpin for YamlMetadata
impl UnwindSafe for YamlMetadata
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)