pub enum PdfValue {
Null,
Boolean(bool),
Integer(i32),
Real(f64),
String(String),
Name(String),
Array(Vec<PdfValue>),
Dictionary(HashMap<String, PdfValue>),
Stream(Vec<u8>),
}Expand description
PDF value types
Variants§
Null
Boolean(bool)
Integer(i32)
Real(f64)
String(String)
Name(String)
Array(Vec<PdfValue>)
Dictionary(HashMap<String, PdfValue>)
Stream(Vec<u8>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PdfValue
impl RefUnwindSafe for PdfValue
impl Send for PdfValue
impl Sync for PdfValue
impl Unpin for PdfValue
impl UnsafeUnpin for PdfValue
impl UnwindSafe for PdfValue
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more