#[repr(C)]
pub struct RUSurfaceFormatFuncs {
Show 41 fields pub destroy: extern "C" fn(self_c: *const RUBase), pub set_depth_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32), pub depth_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32, pub set_stencil_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32), pub stencil_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32, pub set_red_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32), pub red_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32, pub set_green_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32), pub green_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32, pub set_blue_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32), pub blue_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32, pub set_alpha_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32), pub alpha_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32, pub set_samples: extern "C" fn(self_c: *const RUBase, num_samples: i32), pub samples: extern "C" fn(self_c: *const RUBase) -> i32, pub set_swap_behavior: extern "C" fn(self_c: *const RUBase, behavior: i32), pub swap_behavior: extern "C" fn(self_c: *const RUBase) -> i32, pub has_alpha: extern "C" fn(self_c: *const RUBase) -> bool, pub set_profile: extern "C" fn(self_c: *const RUBase, profile: i32), pub profile: extern "C" fn(self_c: *const RUBase) -> i32, pub set_renderable_type: extern "C" fn(self_c: *const RUBase, stype: i32), pub renderable_type: extern "C" fn(self_c: *const RUBase) -> i32, pub set_major_version: extern "C" fn(self_c: *const RUBase, major_version: i32), pub major_version: extern "C" fn(self_c: *const RUBase) -> i32, pub set_minor_version: extern "C" fn(self_c: *const RUBase, minor_version: i32), pub minor_version: extern "C" fn(self_c: *const RUBase) -> i32, pub set_version: extern "C" fn(self_c: *const RUBase, major: i32, minor: i32), pub stereo: extern "C" fn(self_c: *const RUBase) -> bool, pub set_stereo: extern "C" fn(self_c: *const RUBase, enable: bool), pub set_option: extern "C" fn(self_c: *const RUBase, opt: i32), pub test_option: extern "C" fn(self_c: *const RUBase, opt: i32) -> bool, pub set_options: extern "C" fn(self_c: *const RUBase, options: i32), pub set_option_2: extern "C" fn(self_c: *const RUBase, option: i32, on: bool), pub test_option_2: extern "C" fn(self_c: *const RUBase, option: i32) -> bool, pub options: extern "C" fn(self_c: *const RUBase) -> i32, pub swap_interval: extern "C" fn(self_c: *const RUBase) -> i32, pub set_swap_interval: extern "C" fn(self_c: *const RUBase, interval: i32), pub color_space: extern "C" fn(self_c: *const RUBase) -> i32, pub set_color_space: extern "C" fn(self_c: *const RUBase, color_space: i32), pub set_default_format: extern "C" fn(self_c: *const RUBase, format: *const RUBase), pub default_format: extern "C" fn(self_c: *const RUBase) -> RUSurfaceFormat,
}

Fields

destroy: extern "C" fn(self_c: *const RUBase)set_depth_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)depth_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32set_stencil_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)stencil_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32set_red_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)red_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32set_green_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)green_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32set_blue_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)blue_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32set_alpha_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)alpha_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32set_samples: extern "C" fn(self_c: *const RUBase, num_samples: i32)samples: extern "C" fn(self_c: *const RUBase) -> i32set_swap_behavior: extern "C" fn(self_c: *const RUBase, behavior: i32)swap_behavior: extern "C" fn(self_c: *const RUBase) -> i32has_alpha: extern "C" fn(self_c: *const RUBase) -> boolset_profile: extern "C" fn(self_c: *const RUBase, profile: i32)profile: extern "C" fn(self_c: *const RUBase) -> i32set_renderable_type: extern "C" fn(self_c: *const RUBase, stype: i32)renderable_type: extern "C" fn(self_c: *const RUBase) -> i32set_major_version: extern "C" fn(self_c: *const RUBase, major_version: i32)major_version: extern "C" fn(self_c: *const RUBase) -> i32set_minor_version: extern "C" fn(self_c: *const RUBase, minor_version: i32)minor_version: extern "C" fn(self_c: *const RUBase) -> i32set_version: extern "C" fn(self_c: *const RUBase, major: i32, minor: i32)stereo: extern "C" fn(self_c: *const RUBase) -> boolset_stereo: extern "C" fn(self_c: *const RUBase, enable: bool)set_option: extern "C" fn(self_c: *const RUBase, opt: i32)test_option: extern "C" fn(self_c: *const RUBase, opt: i32) -> boolset_options: extern "C" fn(self_c: *const RUBase, options: i32)set_option_2: extern "C" fn(self_c: *const RUBase, option: i32, on: bool)test_option_2: extern "C" fn(self_c: *const RUBase, option: i32) -> booloptions: extern "C" fn(self_c: *const RUBase) -> i32swap_interval: extern "C" fn(self_c: *const RUBase) -> i32set_swap_interval: extern "C" fn(self_c: *const RUBase, interval: i32)color_space: extern "C" fn(self_c: *const RUBase) -> i32set_color_space: extern "C" fn(self_c: *const RUBase, color_space: i32)set_default_format: extern "C" fn(self_c: *const RUBase, format: *const RUBase)default_format: extern "C" fn(self_c: *const RUBase) -> RUSurfaceFormat

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.