#[repr(C)]pub struct fz_image {Show 17 fields
pub key_storable: fz_key_storable,
pub w: c_int,
pub h: c_int,
pub n: u8,
pub bpc: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub orientation: 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],
}Expand description
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_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§orientation: 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§
Source§impl fz_image
impl fz_image
pub fn imagemask(&self) -> c_uint
pub fn set_imagemask(&mut self, val: c_uint)
pub unsafe fn imagemask_raw(this: *const Self) -> c_uint
pub unsafe fn set_imagemask_raw(this: *mut Self, val: c_uint)
pub fn interpolate(&self) -> c_uint
pub fn set_interpolate(&mut self, val: c_uint)
pub unsafe fn interpolate_raw(this: *const Self) -> c_uint
pub unsafe fn set_interpolate_raw(this: *mut Self, val: c_uint)
pub fn use_colorkey(&self) -> c_uint
pub fn set_use_colorkey(&mut self, val: c_uint)
pub unsafe fn use_colorkey_raw(this: *const Self) -> c_uint
pub unsafe fn set_use_colorkey_raw(this: *mut Self, val: c_uint)
pub fn use_decode(&self) -> c_uint
pub fn set_use_decode(&mut self, val: c_uint)
pub unsafe fn use_decode_raw(this: *const Self) -> c_uint
pub unsafe fn set_use_decode_raw(this: *mut Self, val: c_uint)
pub fn decoded(&self) -> c_uint
pub fn set_decoded(&mut self, val: c_uint)
pub unsafe fn decoded_raw(this: *const Self) -> c_uint
pub unsafe fn set_decoded_raw(this: *mut Self, val: c_uint)
pub fn scalable(&self) -> c_uint
pub fn set_scalable(&mut self, val: c_uint)
pub unsafe fn scalable_raw(this: *const Self) -> c_uint
pub unsafe fn set_scalable_raw(this: *mut Self, val: c_uint)
pub fn intent(&self) -> c_uint
pub fn set_intent(&mut self, val: c_uint)
pub unsafe fn intent_raw(this: *const Self) -> c_uint
pub unsafe fn set_intent_raw(this: *mut Self, val: c_uint)
pub fn has_intent(&self) -> c_uint
pub fn set_has_intent(&mut self, val: c_uint)
pub unsafe fn has_intent_raw(this: *const Self) -> c_uint
pub unsafe fn set_has_intent_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( imagemask: c_uint, interpolate: c_uint, use_colorkey: c_uint, use_decode: c_uint, decoded: c_uint, scalable: c_uint, intent: c_uint, has_intent: c_uint, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for fz_image
impl RefUnwindSafe for fz_image
impl !Send for fz_image
impl !Sync for fz_image
impl Unpin for fz_image
impl UnwindSafe for fz_image
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