pub struct AnnotationOverlay {
pub annotation: Annotation,
pub display_tree: DisplayTree,
}Expand description
An annotation paired with its pre-interpreted appearance stream.
The display_tree is the result of interpreting the annotation’s
appearance stream (a Form XObject) as a DisplayTree. The annotation’s
/Rect and visibility flags are used to position and filter it.
Fields§
§annotation: AnnotationThe parsed annotation metadata (subtype, rect, flags, etc.).
display_tree: DisplayTreeThe display tree from the annotation’s normal appearance stream.
Trait Implementations§
Source§impl Clone for AnnotationOverlay
impl Clone for AnnotationOverlay
Source§fn clone(&self) -> AnnotationOverlay
fn clone(&self) -> AnnotationOverlay
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnnotationOverlay
impl !RefUnwindSafe for AnnotationOverlay
impl Send for AnnotationOverlay
impl Sync for AnnotationOverlay
impl Unpin for AnnotationOverlay
impl UnsafeUnpin for AnnotationOverlay
impl !UnwindSafe for AnnotationOverlay
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