[][src]Struct pdf::object::ImageDict

pub struct ImageDict {
    pub width: i32,
    pub height: i32,
    pub color_space: Option<Primitive>,
    pub bits_per_component: i32,
    pub intent: Option<RenderingIntent>,
    pub image_mask: bool,
    pub mask: Primitive,
    pub decode: Option<Vec<f32>>,
    pub interpolate: bool,
    pub struct_parent: Option<i32>,
    pub id: Option<PdfString>,
    // some fields omitted
}

A variant of XObject

Fields

width: i32height: i32color_space: Option<Primitive>bits_per_component: i32intent: Option<RenderingIntent>image_mask: boolmask: Primitivedecode: Option<Vec<f32>>

Describes how to map image samples into the range of values appropriate for the image’s color space. If image_mask: either [0 1] or [1 0]. Else, the length must be twice the number of color components required by color_space (key ColorSpace)

interpolate: boolstruct_parent: Option<i32>

The integer key of the image’s entry in the structural parent tree

id: Option<PdfString>

Trait Implementations

impl Debug for ImageDict[src]

impl Object for ImageDict[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AnyObject for T where
    T: Object + 'static, 
[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> Same<T> for T

type Output = T

Should always be Self

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.