pub enum MarkdownInput {
Content {
path: PathBuf,
content: String,
},
File {
path: PathBuf,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MarkdownInput
impl Clone for MarkdownInput
Source§fn clone(&self) -> MarkdownInput
fn clone(&self) -> MarkdownInput
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 moreAuto Trait Implementations§
impl Freeze for MarkdownInput
impl RefUnwindSafe for MarkdownInput
impl Send for MarkdownInput
impl Sync for MarkdownInput
impl Unpin for MarkdownInput
impl UnsafeUnpin for MarkdownInput
impl UnwindSafe for MarkdownInput
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