pub struct ScrubbedMarkdown {
pub text: String,
pub images: Vec<(String, Vec<u8>)>,
}Expand description
A scrambled Markdown manuscript and the blank pictures it refers to.
Fields§
§text: String§images: Vec<(String, Vec<u8>)>(path as written in the manuscript, blank picture) for each
picture the importer asked for and the caller had. The copy refers
to these paths; a writer puts them next to the copy (and must not
follow a path out of the folder: .., an absolute path).
Trait Implementations§
Source§impl Clone for ScrubbedMarkdown
impl Clone for ScrubbedMarkdown
Source§impl Debug for ScrubbedMarkdown
impl Debug for ScrubbedMarkdown
Source§impl PartialEq for ScrubbedMarkdown
impl PartialEq for ScrubbedMarkdown
impl StructuralPartialEq for ScrubbedMarkdown
Auto Trait Implementations§
impl Freeze for ScrubbedMarkdown
impl RefUnwindSafe for ScrubbedMarkdown
impl Send for ScrubbedMarkdown
impl Sync for ScrubbedMarkdown
impl Unpin for ScrubbedMarkdown
impl UnsafeUnpin for ScrubbedMarkdown
impl UnwindSafe for ScrubbedMarkdown
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