Struct rute::auto::surface_ffi::RUSurfaceFuncs
source · #[repr(C)]pub struct RUSurfaceFuncs {
pub surface_class: extern "C" fn(self_c: *const RUBase) -> u32,
pub format: extern "C" fn(self_c: *const RUBase) -> RUSurfaceFormat,
pub surface_type: extern "C" fn(self_c: *const RUBase) -> u32,
pub size: extern "C" fn(self_c: *const RUBase) -> RUSize,
}
Fields
surface_class: extern "C" fn(self_c: *const RUBase) -> u32
format: extern "C" fn(self_c: *const RUBase) -> RUSurfaceFormat
surface_type: extern "C" fn(self_c: *const RUBase) -> u32
size: extern "C" fn(self_c: *const RUBase) -> RUSize
Trait Implementations
sourceimpl Clone for RUSurfaceFuncs
impl Clone for RUSurfaceFuncs
sourcefn clone(&self) -> RUSurfaceFuncs
fn clone(&self) -> RUSurfaceFuncs
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 RUSurfaceFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUSurfaceFuncs
impl Send for RUSurfaceFuncs
impl Sync for RUSurfaceFuncs
impl Unpin for RUSurfaceFuncs
impl UnwindSafe for RUSurfaceFuncs
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