pub struct Frontmatter<'a> {
pub yaml: &'a str,
pub body: &'a str,
}Fields§
§yaml: &'a str§body: &'a strTrait Implementations§
Source§impl<'a> Clone for Frontmatter<'a>
impl<'a> Clone for Frontmatter<'a>
Source§fn clone(&self) -> Frontmatter<'a>
fn clone(&self) -> Frontmatter<'a>
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<'a> Copy for Frontmatter<'a>
Auto Trait Implementations§
impl<'a> Freeze for Frontmatter<'a>
impl<'a> RefUnwindSafe for Frontmatter<'a>
impl<'a> Send for Frontmatter<'a>
impl<'a> Sync for Frontmatter<'a>
impl<'a> Unpin for Frontmatter<'a>
impl<'a> UnsafeUnpin for Frontmatter<'a>
impl<'a> UnwindSafe for Frontmatter<'a>
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