pub struct TitleFrontMatter {
pub author: Option<Paragraph>,
pub date: Option<Paragraph>,
pub hero: Option<SectionElement>,
pub kicker: Option<Paragraph>,
pub summary: Option<Paragraph>,
pub next: Option<Paragraph>,
pub previous: Option<Paragraph>,
}Fields§
§date: Option<Paragraph>§hero: Option<SectionElement>§kicker: Option<Paragraph>§summary: Option<Paragraph>§next: Option<Paragraph>§previous: Option<Paragraph>Trait Implementations§
Source§impl Default for TitleFrontMatter
impl Default for TitleFrontMatter
Source§fn default() -> TitleFrontMatter
fn default() -> TitleFrontMatter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TitleFrontMatter
impl RefUnwindSafe for TitleFrontMatter
impl Send for TitleFrontMatter
impl Sync for TitleFrontMatter
impl Unpin for TitleFrontMatter
impl UnsafeUnpin for TitleFrontMatter
impl UnwindSafe for TitleFrontMatter
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.