Struct printpdf::ReferenceXObject
source · pub struct ReferenceXObject {
pub file: Vec<u8>,
pub page: i64,
pub id: [i64; 2],
}
Expand description
PDF 1.4 and higher Contains a PDF file to be embedded in the current PDF
Fields§
§file: Vec<u8>
(Required) The file containing the target document. (?)
page: i64
Page number to embed
id: [i64; 2]
Optional, should be the document ID and version ID from the metadata
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ReferenceXObject
impl Send for ReferenceXObject
impl Sync for ReferenceXObject
impl Unpin for ReferenceXObject
impl UnwindSafe for ReferenceXObject
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