Struct ul_next_sys::ULSurfaceDefinition
source · #[repr(C)]pub struct ULSurfaceDefinition {
pub create: ULSurfaceDefinitionCreateCallback,
pub destroy: ULSurfaceDefinitionDestroyCallback,
pub get_width: ULSurfaceDefinitionGetWidthCallback,
pub get_height: ULSurfaceDefinitionGetHeightCallback,
pub get_row_bytes: ULSurfaceDefinitionGetRowBytesCallback,
pub get_size: ULSurfaceDefinitionGetSizeCallback,
pub lock_pixels: ULSurfaceDefinitionLockPixelsCallback,
pub unlock_pixels: ULSurfaceDefinitionUnlockPixelsCallback,
pub resize: ULSurfaceDefinitionResizeCallback,
}
Fields§
§create: ULSurfaceDefinitionCreateCallback
§destroy: ULSurfaceDefinitionDestroyCallback
§get_width: ULSurfaceDefinitionGetWidthCallback
§get_height: ULSurfaceDefinitionGetHeightCallback
§get_row_bytes: ULSurfaceDefinitionGetRowBytesCallback
§get_size: ULSurfaceDefinitionGetSizeCallback
§lock_pixels: ULSurfaceDefinitionLockPixelsCallback
§unlock_pixels: ULSurfaceDefinitionUnlockPixelsCallback
§resize: ULSurfaceDefinitionResizeCallback
Trait Implementations§
source§impl Clone for ULSurfaceDefinition
impl Clone for ULSurfaceDefinition
source§fn clone(&self) -> ULSurfaceDefinition
fn clone(&self) -> ULSurfaceDefinition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ULSurfaceDefinition
impl Debug for ULSurfaceDefinition
source§impl Default for ULSurfaceDefinition
impl Default for ULSurfaceDefinition
source§fn default() -> ULSurfaceDefinition
fn default() -> ULSurfaceDefinition
Returns the “default value” for a type. Read more
impl Copy for ULSurfaceDefinition
Auto Trait Implementations§
impl Freeze for ULSurfaceDefinition
impl RefUnwindSafe for ULSurfaceDefinition
impl Send for ULSurfaceDefinition
impl Sync for ULSurfaceDefinition
impl Unpin for ULSurfaceDefinition
impl UnwindSafe for ULSurfaceDefinition
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)