#[repr(i32)]pub enum PdfAnnotationType {
Show 27 variants
Text = 0,
Link = 1,
FreeText = 2,
Line = 3,
Square = 4,
Circle = 5,
Polygon = 6,
PloyLine = 7,
Highlight = 8,
Underline = 9,
Squiggly = 10,
StrikeOut = 11,
Redact = 12,
Stamp = 13,
Caret = 14,
Ink = 15,
Popup = 16,
FileAttachment = 17,
Sound = 18,
Movie = 19,
Widget = 20,
Screen = 21,
PrinterMark = 22,
TrapNet = 23,
Watermark = 24,
ThreeD = 25,
Unknown = -1,
}
Variants§
Text = 0
Link = 1
FreeText = 2
Line = 3
Square = 4
Circle = 5
Polygon = 6
PloyLine = 7
Highlight = 8
Underline = 9
Squiggly = 10
StrikeOut = 11
Redact = 12
Stamp = 13
Caret = 14
Ink = 15
Popup = 16
FileAttachment = 17
Sound = 18
Movie = 19
Widget = 20
Screen = 21
PrinterMark = 22
TrapNet = 23
Watermark = 24
ThreeD = 25
Unknown = -1
Trait Implementations§
Source§impl Clone for PdfAnnotationType
impl Clone for PdfAnnotationType
Source§fn clone(&self) -> PdfAnnotationType
fn clone(&self) -> PdfAnnotationType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PdfAnnotationType
impl Debug for PdfAnnotationType
Source§impl PartialEq for PdfAnnotationType
impl PartialEq for PdfAnnotationType
Source§impl TryFrom<i32> for PdfAnnotationType
impl TryFrom<i32> for PdfAnnotationType
Source§type Error = TryFromPrimitiveError<PdfAnnotationType>
type Error = TryFromPrimitiveError<PdfAnnotationType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for PdfAnnotationType
impl TryFromPrimitive for PdfAnnotationType
const NAME: &'static str = "PdfAnnotationType"
type Primitive = i32
type Error = TryFromPrimitiveError<PdfAnnotationType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for PdfAnnotationType
impl StructuralPartialEq for PdfAnnotationType
Auto Trait Implementations§
impl Freeze for PdfAnnotationType
impl RefUnwindSafe for PdfAnnotationType
impl Send for PdfAnnotationType
impl Sync for PdfAnnotationType
impl Unpin for PdfAnnotationType
impl UnwindSafe for PdfAnnotationType
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