pub enum Object {
Null,
Bool(bool),
Int(i64),
Real(f64),
String(Vec<u8>),
Name(Name),
Array(Vec<Object>),
Dict(Dict),
Stream(Stream),
Ref(ObjRef),
}Expand description
Any PDF object (ISO 32000 §7.3).
Variants§
Null
Bool(bool)
Int(i64)
Real(f64)
String(Vec<u8>)
A string object as raw bytes (may be text or binary data).
Name(Name)
Array(Vec<Object>)
Dict(Dict)
Stream(Stream)
Ref(ObjRef)
Implementations§
Trait Implementations§
impl StructuralPartialEq for Object
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnsafeUnpin for Object
impl UnwindSafe for Object
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