[][src]Struct printpdf::types::plugins::graphics::xobject::ReferenceXObject

pub struct ReferenceXObject {
    pub file: Vec<u8>,
    pub page: i64,
    pub id: [i64; 2],
}

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

impl Debug for ReferenceXObject[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.