[][src]Struct mupdf_sys::fz_image

#[repr(C)]pub struct fz_image {
    pub key_storable: fz_key_storable,
    pub w: c_int,
    pub h: c_int,
    pub n: u8,
    pub bpc: u8,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub mask: *mut fz_image,
    pub xres: c_int,
    pub yres: c_int,
    pub colorspace: *mut fz_colorspace,
    pub drop_image: fz_drop_image_fn,
    pub get_pixmap: fz_image_get_pixmap_fn,
    pub get_size: fz_image_get_size_fn,
    pub colorkey: [c_int; 64],
    pub decode: [f32; 64],
}

Structure is public to allow other structures to be derived from it. Do not access members directly.

Fields

key_storable: fz_key_storablew: c_inth: c_intn: u8bpc: u8_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>mask: *mut fz_imagexres: c_intyres: c_intcolorspace: *mut fz_colorspacedrop_image: fz_drop_image_fnget_pixmap: fz_image_get_pixmap_fnget_size: fz_image_get_size_fncolorkey: [c_int; 64]decode: [f32; 64]

Implementations

impl fz_image[src]

pub fn imagemask(&self) -> c_uint[src]

pub fn set_imagemask(&mut self, val: c_uint)[src]

pub fn interpolate(&self) -> c_uint[src]

pub fn set_interpolate(&mut self, val: c_uint)[src]

pub fn use_colorkey(&self) -> c_uint[src]

pub fn set_use_colorkey(&mut self, val: c_uint)[src]

pub fn use_decode(&self) -> c_uint[src]

pub fn set_use_decode(&mut self, val: c_uint)[src]

pub fn invert_cmyk_jpeg(&self) -> c_uint[src]

pub fn set_invert_cmyk_jpeg(&mut self, val: c_uint)[src]

pub fn decoded(&self) -> c_uint[src]

pub fn set_decoded(&mut self, val: c_uint)[src]

pub fn scalable(&self) -> c_uint[src]

pub fn set_scalable(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    imagemask: c_uint,
    interpolate: c_uint,
    use_colorkey: c_uint,
    use_decode: c_uint,
    invert_cmyk_jpeg: c_uint,
    decoded: c_uint,
    scalable: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for fz_image[src]

impl Copy for fz_image[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.