pub struct DocDirFrontmatter { /* private fields */ }Expand description
Directory presentation metadata parsed from a VuePress-style dir: frontmatter block.
Implementations§
Source§impl DocDirFrontmatter
impl DocDirFrontmatter
pub fn get_order(&self) -> Option<i32>
pub fn try_get_order(&self) -> Option<i32>
pub fn get_text(&self) -> String
pub fn try_get_text(&self) -> &Option<String>
pub fn get_link(&self) -> Option<bool>
pub fn try_get_link(&self) -> Option<bool>
pub fn get_collapsible(&self) -> Option<bool>
pub fn try_get_collapsible(&self) -> Option<bool>
Trait Implementations§
Source§impl Clone for DocDirFrontmatter
impl Clone for DocDirFrontmatter
Source§impl Debug for DocDirFrontmatter
impl Debug for DocDirFrontmatter
Source§impl Default for DocDirFrontmatter
impl Default for DocDirFrontmatter
Source§impl<'de> Deserialize<'de> for DocDirFrontmatter
impl<'de> Deserialize<'de> for DocDirFrontmatter
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
Source§impl PartialEq for DocDirFrontmatter
impl PartialEq for DocDirFrontmatter
Source§impl Serialize for DocDirFrontmatter
impl Serialize for DocDirFrontmatter
impl StructuralPartialEq for DocDirFrontmatter
Auto Trait Implementations§
impl Forget for DocDirFrontmatter
impl Freeze for DocDirFrontmatter
impl Move for DocDirFrontmatter
impl RefUnwindSafe for DocDirFrontmatter
impl Send for DocDirFrontmatterwhere
RawVecInner: Send,
impl Sync for DocDirFrontmatterwhere
RawVecInner: Sync,
impl Unpin for DocDirFrontmatter
impl UnsafeUnpin for DocDirFrontmatter
impl UnwindSafe for DocDirFrontmatterwhere
RawVecInner: UnwindSafe,
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