pub enum PdfPrimitive {
Null,
Boolean(bool),
Integer(i64),
Real(f64),
Name(String),
LiteralString(Vec<u8>),
HexString(Vec<u8>),
Array(Vec<PdfPrimitive>),
Dictionary(Vec<(String, PdfPrimitive)>),
Reference(ObjectId),
}Variants§
Null
Boolean(bool)
Integer(i64)
Real(f64)
Name(String)
LiteralString(Vec<u8>)
HexString(Vec<u8>)
Array(Vec<PdfPrimitive>)
Dictionary(Vec<(String, PdfPrimitive)>)
Reference(ObjectId)
Trait Implementations§
Source§impl Clone for PdfPrimitive
impl Clone for PdfPrimitive
Source§fn clone(&self) -> PdfPrimitive
fn clone(&self) -> PdfPrimitive
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PdfPrimitive
impl Debug for PdfPrimitive
Source§impl PartialEq for PdfPrimitive
impl PartialEq for PdfPrimitive
Source§fn eq(&self, other: &PdfPrimitive) -> bool
fn eq(&self, other: &PdfPrimitive) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PdfPrimitive
Auto Trait Implementations§
impl Freeze for PdfPrimitive
impl RefUnwindSafe for PdfPrimitive
impl Send for PdfPrimitive
impl Sync for PdfPrimitive
impl Unpin for PdfPrimitive
impl UnsafeUnpin for PdfPrimitive
impl UnwindSafe for PdfPrimitive
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