pub struct ElementOpts {
pub physical: bool,
pub logical: bool,
pub pages: Option<Vec<usize>>,
pub content_ops: bool,
}Expand description
Selects which element layers crate::Document::elements yields.
Fields§
§physical: boolYield physical file-structure elements.
logical: boolYield logical document-structure elements.
pages: Option<Vec<usize>>Restrict logical elements to these 0-based page indices.
content_ops: boolYield Element::ContentOp items (high-volume; off by default).
Trait Implementations§
Source§impl Clone for ElementOpts
impl Clone for ElementOpts
Source§fn clone(&self) -> ElementOpts
fn clone(&self) -> ElementOpts
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 moreSource§impl Debug for ElementOpts
impl Debug for ElementOpts
Auto Trait Implementations§
impl Freeze for ElementOpts
impl RefUnwindSafe for ElementOpts
impl Send for ElementOpts
impl Sync for ElementOpts
impl Unpin for ElementOpts
impl UnsafeUnpin for ElementOpts
impl UnwindSafe for ElementOpts
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