#[repr(C)]pub struct SDL_CursorFrameInfo {
pub surface: *mut SDL_Surface,
pub duration: Uint32,
}Expand description
Animated cursor frame info.
Available Since: This struct is available since SDL 3.4.0.
Fields§
§surface: *mut SDL_Surface< The surface data for this frame
duration: Uint32< The frame duration in milliseconds (a duration of 0 is infinite)
Trait Implementations§
Source§impl Clone for SDL_CursorFrameInfo
impl Clone for SDL_CursorFrameInfo
Source§fn clone(&self) -> SDL_CursorFrameInfo
fn clone(&self) -> SDL_CursorFrameInfo
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 moreSource§impl Debug for SDL_CursorFrameInfo
impl Debug for SDL_CursorFrameInfo
Source§impl Default for SDL_CursorFrameInfo
impl Default for SDL_CursorFrameInfo
Source§impl Hash for SDL_CursorFrameInfo
impl Hash for SDL_CursorFrameInfo
impl Copy for SDL_CursorFrameInfo
Auto Trait Implementations§
impl Freeze for SDL_CursorFrameInfo
impl RefUnwindSafe for SDL_CursorFrameInfo
impl !Send for SDL_CursorFrameInfo
impl !Sync for SDL_CursorFrameInfo
impl Unpin for SDL_CursorFrameInfo
impl UnsafeUnpin for SDL_CursorFrameInfo
impl UnwindSafe for SDL_CursorFrameInfo
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