pub struct MarkdownFile { /* private fields */ }Implementations§
Source§impl MarkdownFile
impl MarkdownFile
pub fn new(path: PathBuf) -> MarkdownFile
pub fn path(&self) -> &PathBuf
pub fn process_to_html( &self, html: &HtmlAllocator, ) -> Result<ProcessedMarkdown, MarkdownFileError>
Auto Trait Implementations§
impl Freeze for MarkdownFile
impl RefUnwindSafe for MarkdownFile
impl Send for MarkdownFile
impl Sync for MarkdownFile
impl Unpin for MarkdownFile
impl UnsafeUnpin for MarkdownFile
impl UnwindSafe for MarkdownFile
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