Struct rute::auto::surface_format_ffi::RUSurfaceFormatFuncs
source · #[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) -> i32
set_stencil_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)
stencil_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32
set_red_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)
red_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32
set_green_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)
green_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32
set_blue_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)
blue_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32
set_alpha_buffer_size: extern "C" fn(self_c: *const RUBase, size: i32)
alpha_buffer_size: extern "C" fn(self_c: *const RUBase) -> i32
set_samples: extern "C" fn(self_c: *const RUBase, num_samples: i32)
samples: extern "C" fn(self_c: *const RUBase) -> i32
set_swap_behavior: extern "C" fn(self_c: *const RUBase, behavior: i32)
swap_behavior: extern "C" fn(self_c: *const RUBase) -> i32
has_alpha: extern "C" fn(self_c: *const RUBase) -> bool
set_profile: extern "C" fn(self_c: *const RUBase, profile: i32)
profile: extern "C" fn(self_c: *const RUBase) -> i32
set_renderable_type: extern "C" fn(self_c: *const RUBase, stype: i32)
renderable_type: extern "C" fn(self_c: *const RUBase) -> i32
set_major_version: extern "C" fn(self_c: *const RUBase, major_version: i32)
major_version: extern "C" fn(self_c: *const RUBase) -> i32
set_minor_version: extern "C" fn(self_c: *const RUBase, minor_version: i32)
minor_version: extern "C" fn(self_c: *const RUBase) -> i32
set_version: extern "C" fn(self_c: *const RUBase, major: i32, minor: i32)
stereo: extern "C" fn(self_c: *const RUBase) -> bool
set_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) -> bool
set_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) -> bool
options: extern "C" fn(self_c: *const RUBase) -> i32
swap_interval: extern "C" fn(self_c: *const RUBase) -> i32
set_swap_interval: extern "C" fn(self_c: *const RUBase, interval: i32)
color_space: extern "C" fn(self_c: *const RUBase) -> i32
set_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
sourceimpl Clone for RUSurfaceFormatFuncs
impl Clone for RUSurfaceFormatFuncs
sourcefn clone(&self) -> RUSurfaceFormatFuncs
fn clone(&self) -> RUSurfaceFormatFuncs
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 RUSurfaceFormatFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUSurfaceFormatFuncs
impl Send for RUSurfaceFormatFuncs
impl Sync for RUSurfaceFormatFuncs
impl Unpin for RUSurfaceFormatFuncs
impl UnwindSafe for RUSurfaceFormatFuncs
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