Struct rich_sdl2_rust::surface::RawSurface
#[repr(C)]pub struct RawSurface {
pub flags: u32,
pub format: *mut SDL_PixelFormat,
pub w: i32,
pub h: i32,
pub pitch: i32,
pub pixels: *mut c_void,
pub userdata: *mut c_void,
pub locked: i32,
pub list_blitmap: *mut c_void,
pub clip_rect: SDL_Rect,
pub map: *mut SDL_BlitMap,
pub refcount: i32,
}
Fields§
§flags: u32
§format: *mut SDL_PixelFormat
§w: i32
§h: i32
§pitch: i32
§pixels: *mut c_void
§userdata: *mut c_void
§locked: i32
§list_blitmap: *mut c_void
§clip_rect: SDL_Rect
§map: *mut SDL_BlitMap
§refcount: i32
Trait Implementations§
§impl Clone for SDL_Surface
impl Clone for SDL_Surface
§fn clone(&self) -> SDL_Surface
fn clone(&self) -> SDL_Surface
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 more§impl Debug for SDL_Surface
impl Debug for SDL_Surface
impl Copy for SDL_Surface
Auto Trait Implementations§
impl RefUnwindSafe for SDL_Surface
impl !Send for SDL_Surface
impl !Sync for SDL_Surface
impl Unpin for SDL_Surface
impl UnwindSafe for SDL_Surface
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