pub struct ParsedText {
pub text: String,
pub front_matter: Result<Option<FrontMatter>, FrontMatterError>,
}Expand description
File body and parsed frontmatter, read once by build_graph.
Fields§
§text: String§front_matter: Result<Option<FrontMatter>, FrontMatterError>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedText
impl RefUnwindSafe for ParsedText
impl Send for ParsedText
impl Sync for ParsedText
impl Unpin for ParsedText
impl UnsafeUnpin for ParsedText
impl UnwindSafe for ParsedText
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