Struct rute::auto::pixel_format_ffi::RUPixelFormatFuncs
source · #[repr(C)]pub struct RUPixelFormatFuncs {Show 23 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub color_model: extern "C" fn(self_c: *const RUBase) -> u32,
pub channel_count: extern "C" fn(self_c: *const RUBase) -> u8,
pub red_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub green_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub blue_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub cyan_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub magenta_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub yellow_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub black_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub hue_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub saturation_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub lightness_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub brightness_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub alpha_size: extern "C" fn(self_c: *const RUBase) -> u8,
pub bits_per_pixel: extern "C" fn(self_c: *const RUBase) -> u8,
pub alpha_usage: extern "C" fn(self_c: *const RUBase) -> u32,
pub alpha_position: extern "C" fn(self_c: *const RUBase) -> u32,
pub premultiplied: extern "C" fn(self_c: *const RUBase) -> u32,
pub type_interpretation: extern "C" fn(self_c: *const RUBase) -> u32,
pub byte_order: extern "C" fn(self_c: *const RUBase) -> u32,
pub yuv_layout: extern "C" fn(self_c: *const RUBase) -> u32,
pub sub_enum: extern "C" fn(self_c: *const RUBase) -> u8,
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
color_model: extern "C" fn(self_c: *const RUBase) -> u32
channel_count: extern "C" fn(self_c: *const RUBase) -> u8
red_size: extern "C" fn(self_c: *const RUBase) -> u8
green_size: extern "C" fn(self_c: *const RUBase) -> u8
blue_size: extern "C" fn(self_c: *const RUBase) -> u8
cyan_size: extern "C" fn(self_c: *const RUBase) -> u8
magenta_size: extern "C" fn(self_c: *const RUBase) -> u8
yellow_size: extern "C" fn(self_c: *const RUBase) -> u8
black_size: extern "C" fn(self_c: *const RUBase) -> u8
hue_size: extern "C" fn(self_c: *const RUBase) -> u8
saturation_size: extern "C" fn(self_c: *const RUBase) -> u8
lightness_size: extern "C" fn(self_c: *const RUBase) -> u8
brightness_size: extern "C" fn(self_c: *const RUBase) -> u8
alpha_size: extern "C" fn(self_c: *const RUBase) -> u8
bits_per_pixel: extern "C" fn(self_c: *const RUBase) -> u8
alpha_usage: extern "C" fn(self_c: *const RUBase) -> u32
alpha_position: extern "C" fn(self_c: *const RUBase) -> u32
premultiplied: extern "C" fn(self_c: *const RUBase) -> u32
type_interpretation: extern "C" fn(self_c: *const RUBase) -> u32
byte_order: extern "C" fn(self_c: *const RUBase) -> u32
yuv_layout: extern "C" fn(self_c: *const RUBase) -> u32
sub_enum: extern "C" fn(self_c: *const RUBase) -> u8
Trait Implementations
sourceimpl Clone for RUPixelFormatFuncs
impl Clone for RUPixelFormatFuncs
sourcefn clone(&self) -> RUPixelFormatFuncs
fn clone(&self) -> RUPixelFormatFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUPixelFormatFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUPixelFormatFuncs
impl Send for RUPixelFormatFuncs
impl Sync for RUPixelFormatFuncs
impl Unpin for RUPixelFormatFuncs
impl UnwindSafe for RUPixelFormatFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more