#[repr(C)]pub struct SDL_Cursor {
pub area: Rect,
pub hot_x: int16_t,
pub hot_y: int16_t,
pub data: *mut uint8_t,
pub mask: *mut uint8_t,
pub save: [*mut uint8_t; 2],
pub wm_cursor: *mut WMcursor,
}
Fields§
§area: Rect
§hot_x: int16_t
§hot_y: int16_t
§data: *mut uint8_t
§mask: *mut uint8_t
§save: [*mut uint8_t; 2]
§wm_cursor: *mut WMcursor
Trait Implementations§
Source§impl Clone for SDL_Cursor
impl Clone for SDL_Cursor
Source§fn clone(&self) -> SDL_Cursor
fn clone(&self) -> SDL_Cursor
Returns a duplicate 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 moreimpl Copy for SDL_Cursor
Auto Trait Implementations§
impl Freeze for SDL_Cursor
impl RefUnwindSafe for SDL_Cursor
impl !Send for SDL_Cursor
impl !Sync for SDL_Cursor
impl Unpin for SDL_Cursor
impl UnwindSafe for SDL_Cursor
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