pub struct PdfObject {
pub num: i32,
pub data: Vec<u8>,
pub stream: bool,
pub attr: Vec<u8>,
pub file: bool,
pub uncompressed: bool,
pub defined: bool,
pub written: bool,
}Expand description
A PDF object created with \pdfextension obj.
Fields§
§num: i32The PDF object number.
data: Vec<u8>The object content (dictionary text, or stream data).
stream: boolWhether this is a stream object.
attr: Vec<u8>Stream dictionary entries (attr {…}).
file: boolWhether data names a file whose content is the object.
uncompressed: boolWhether the object must not go into an object stream.
defined: boolWhether the content has been given (not just reserved).
written: boolWhether it has been written (immediately or at shipout).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PdfObject
impl RefUnwindSafe for PdfObject
impl Send for PdfObject
impl Sync for PdfObject
impl Unpin for PdfObject
impl UnsafeUnpin for PdfObject
impl UnwindSafe for PdfObject
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