#[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: ULSurfaceDefinitionResizeCallbackTrait 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
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