[−][src]Struct mupdf_sys::fz_image
Structure is public to allow other structures to be derived from it. Do not access members directly.
Fields
key_storable: fz_key_storable
w: c_int
h: c_int
n: u8
bpc: u8
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
mask: *mut fz_image
xres: c_int
yres: c_int
colorspace: *mut fz_colorspace
drop_image: fz_drop_image_fn
get_pixmap: fz_image_get_pixmap_fn
get_size: fz_image_get_size_fn
colorkey: [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]
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>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for fz_image
[src]
impl !Send for fz_image
[src]
impl !Sync for fz_image
[src]
impl Unpin for fz_image
[src]
impl UnwindSafe for fz_image
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,