pub struct Annotation {
pub subtype: String,
pub rect: [f64; 4],
pub contents: Option<String>,
pub author: Option<String>,
pub modified: Option<Date>,
pub action: Option<Action>,
pub obj: Option<Ref>,
}Expand description
an annotation of a page
Fields§
§subtype: String/Subtype: Link, Text, Highlight, Widget, FileAttachment, …
rect: [f64; 4]x0, y0, x1, y1 in page space
contents: Option<String>/Contents: the text of a note or comment
/T: the author of a markup annotation
modified: Option<Date>§action: Option<Action>a link’s action (its /A, or its /Dest as GoTo)
obj: Option<Ref>Trait Implementations§
Source§impl Clone for Annotation
impl Clone for Annotation
Source§impl Debug for Annotation
impl Debug for Annotation
Source§impl PartialEq for Annotation
impl PartialEq for Annotation
impl StructuralPartialEq for Annotation
Auto Trait Implementations§
impl Forget for Annotation
impl Freeze for Annotation
impl Move for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotationwhere
RawVecInner: Send,
impl Sync for Annotationwhere
RawVecInner: Sync,
impl Unpin for Annotation
impl UnsafeUnpin for Annotation
impl UnwindSafe for Annotationwhere
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