pub struct ReadDocx {
pub markdown: String,
pub media: Vec<(String, Vec<u8>)>,
pub selected: Option<Vec<usize>>,
pub selected_stories: Vec<String>,
}Expand description
A document read as Markdown.
Fields§
§markdown: StringThe Markdown, with CriticMarkup when changes are kept.
media: Vec<(String, Vec<u8>)>Pictures to write under MarkdownOptions::extract_media: file
name and bytes, sorted by name.
selected: Option<Vec<usize>>The body paragraphs MarkdownOptions::select kept (N of pN,
ascending); None without a selection.
selected_stories: Vec<String>The header, footer and note stories (header1, footnotes) a
--changed selection keeps for their changes; empty otherwise.
Trait Implementations§
impl Eq for ReadDocx
impl StructuralPartialEq for ReadDocx
Auto Trait Implementations§
impl Forget for ReadDocx
impl Freeze for ReadDocx
impl Move for ReadDocx
impl RefUnwindSafe for ReadDocx
impl Send for ReadDocx
impl Sync for ReadDocx
impl Unpin for ReadDocx
impl UnsafeUnpin for ReadDocx
impl UnwindSafe for ReadDocx
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.