pub enum StructKid {
Element(StructElem),
MarkedContent {
page: Option<usize>,
mcid: i64,
},
Object {
page: Option<usize>,
obj: ObjectId,
},
}Expand description
A kid of a structure element: a nested element, a marked-content sequence in
a page’s content stream, or a whole referenced object (/OBJR).
Variants§
Element(StructElem)
A nested structure element.
MarkedContent
A marked-content sequence — a bare integer kid or a /Type /MCR dict.
page is the 0-based index of the page whose content stream mcid
indexes (the element’s effective /Pg), or None when unresolved.
Fields
Object
A reference to a whole object (/Type /OBJR), e.g. an annotation that
participates in the logical structure.
Trait Implementations§
impl Eq for StructKid
impl StructuralPartialEq for StructKid
Auto Trait Implementations§
impl Freeze for StructKid
impl RefUnwindSafe for StructKid
impl Send for StructKid
impl Sync for StructKid
impl Unpin for StructKid
impl UnsafeUnpin for StructKid
impl UnwindSafe for StructKid
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