Enum pdf_writer::types::AnnotationType
source · pub enum AnnotationType {
Text,
Link,
Line,
Square,
Circle,
Highlight,
Underline,
Squiggly,
StrikeOut,
FileAttachment,
}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+.
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.0.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
source§fn eq(&self, other: &AnnotationType) -> bool
fn eq(&self, other: &AnnotationType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AnnotationType
impl Eq for AnnotationType
impl StructuralEq for AnnotationType
impl StructuralPartialEq for AnnotationType
Auto Trait Implementations§
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