pub enum AnnotationType {
Text,
Link,
Line,
Square,
Circle,
Highlight,
Underline,
Squiggly,
StrikeOut,
FileAttachment,
Widget,
Screen,
}
Expand description
Kind of the annotation to produce.
Variants§
Text
Inline text.
Link
A link.
Line
A line. PDF 1.3+.
Square
A square. PDF 1.3+.
Circle
A circle. PDF 1.3+.
Highlight
Highlighting the text on the page. PDF 1.3+.
Underline
Underline the text on the page. PDF 1.3+.
Squiggly
Squiggly underline of the text on the page. PDF 1.4+.
StrikeOut
Strike out the text on the page. PDF 1.3+.
FileAttachment
A reference to another file. PDF 1.3+.
Note that this annotation type is forbidden in PDF/A-1 and restricted in other PDF/A parts.
Widget
A widget annotation. PDF 1.2+.
Screen
A screen annotation. PDF 1.5+.
Note that this annotation type is forbidden in PDF/A.
Trait Implementations§
source§impl Clone for AnnotationType
impl Clone for AnnotationType
source§fn clone(&self) -> AnnotationType
fn clone(&self) -> AnnotationType
Returns a copy of the value. Read more
1.6.0 · 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 AnnotationType
impl Debug for AnnotationType
source§impl Hash for AnnotationType
impl Hash for AnnotationType
source§impl PartialEq for AnnotationType
impl PartialEq for AnnotationType
impl Copy for AnnotationType
impl Eq for AnnotationType
impl StructuralPartialEq for AnnotationType
Auto Trait Implementations§
impl Freeze for AnnotationType
impl RefUnwindSafe for AnnotationType
impl Send for AnnotationType
impl Sync for AnnotationType
impl Unpin for AnnotationType
impl UnwindSafe for AnnotationType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)