pub struct ReadView {
pub markdown: String,
pub warnings: Vec<String>,
pub selected: Option<Vec<usize>>,
pub selected_stories: Vec<String>,
}Expand description
A document’s agent view and what read could not show (always
populated, even empty).
Fields§
§markdown: StringThe YAML header and the Markdown with id lines.
warnings: Vec<String>Why the page markers are missing (the layout pass failed) and the like. The view is complete otherwise.
selected: Option<Vec<usize>>The body paragraphs ReadOptions::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 ReadView
impl StructuralPartialEq for ReadView
Auto Trait Implementations§
impl Forget for ReadView
impl Freeze for ReadView
impl Move for ReadView
impl RefUnwindSafe for ReadView
impl Send for ReadView
impl Sync for ReadView
impl Unpin for ReadView
impl UnsafeUnpin for ReadView
impl UnwindSafe for ReadView
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.