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§impl Debug for ElementOpts
impl Debug for ElementOpts
Auto Trait Implementations§
impl Forget for ElementOpts
impl Freeze for ElementOpts
impl Move for ElementOpts
impl RefUnwindSafe for ElementOpts
impl Send for ElementOptswhere
RawVecInner: Send,
impl Sync for ElementOptswhere
RawVecInner: Sync,
impl Unpin for ElementOpts
impl UnsafeUnpin for ElementOpts
impl UnwindSafe for ElementOptswhere
RawVecInner: UnwindSafe,
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