pub enum PdfValueType {
Unknown = 0,
Boolean = 1,
Number = 2,
String = 3,
Name = 4,
Array = 5,
Dictionary = 6,
Stream = 7,
Null = 8,
Reference = 9,
}Expand description
PDF object type tag for annotation dictionary values.
Corresponds to the FPDF_OBJECT_TYPE enum in the upstream PDFium public API
(public/fpdf_annot.h, FPDFAnnot_GetValueType()).
Variants§
Unknown = 0
The key is absent from the annotation dictionary.
Boolean = 1
The value is a boolean.
Number = 2
The value is an integer or real number.
String = 3
The value is a PDF string.
Name = 4
The value is a PDF name.
Array = 5
The value is an array.
Dictionary = 6
The value is a dictionary.
Stream = 7
The value is a stream.
Null = 8
The value is the PDF null object.
Reference = 9
The value is an indirect reference.
Trait Implementations§
Source§impl Clone for PdfValueType
impl Clone for PdfValueType
Source§fn clone(&self) -> PdfValueType
fn clone(&self) -> PdfValueType
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 moreSource§impl Debug for PdfValueType
impl Debug for PdfValueType
Source§impl PartialEq for PdfValueType
impl PartialEq for PdfValueType
impl Copy for PdfValueType
impl Eq for PdfValueType
impl StructuralPartialEq for PdfValueType
Auto Trait Implementations§
impl Freeze for PdfValueType
impl RefUnwindSafe for PdfValueType
impl Send for PdfValueType
impl Sync for PdfValueType
impl Unpin for PdfValueType
impl UnsafeUnpin for PdfValueType
impl UnwindSafe for PdfValueType
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