#[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) -> i32, 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) -> i32, pub alpha_position: extern "C" fn(self_c: *const RUBase) -> i32, pub premultiplied: extern "C" fn(self_c: *const RUBase) -> i32, pub type_interpretation: extern "C" fn(self_c: *const RUBase) -> i32, pub byte_order: extern "C" fn(self_c: *const RUBase) -> i32, pub yuv_layout: extern "C" fn(self_c: *const RUBase) -> i32, 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) -> i32channel_count: extern "C" fn(self_c: *const RUBase) -> u8red_size: extern "C" fn(self_c: *const RUBase) -> u8green_size: extern "C" fn(self_c: *const RUBase) -> u8blue_size: extern "C" fn(self_c: *const RUBase) -> u8cyan_size: extern "C" fn(self_c: *const RUBase) -> u8magenta_size: extern "C" fn(self_c: *const RUBase) -> u8yellow_size: extern "C" fn(self_c: *const RUBase) -> u8black_size: extern "C" fn(self_c: *const RUBase) -> u8hue_size: extern "C" fn(self_c: *const RUBase) -> u8saturation_size: extern "C" fn(self_c: *const RUBase) -> u8lightness_size: extern "C" fn(self_c: *const RUBase) -> u8brightness_size: extern "C" fn(self_c: *const RUBase) -> u8alpha_size: extern "C" fn(self_c: *const RUBase) -> u8bits_per_pixel: extern "C" fn(self_c: *const RUBase) -> u8alpha_usage: extern "C" fn(self_c: *const RUBase) -> i32alpha_position: extern "C" fn(self_c: *const RUBase) -> i32premultiplied: extern "C" fn(self_c: *const RUBase) -> i32type_interpretation: extern "C" fn(self_c: *const RUBase) -> i32byte_order: extern "C" fn(self_c: *const RUBase) -> i32yuv_layout: extern "C" fn(self_c: *const RUBase) -> i32sub_enum: extern "C" fn(self_c: *const RUBase) -> u8

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.