#[repr(C)]pub struct IMG_Animation {
pub w: c_int,
pub h: c_int,
pub count: c_int,
pub frames: *mut *mut SDL_Surface,
pub delays: *mut c_int,
}Expand description
Animated image support
Fields§
§w: c_int< The width of the frames
h: c_int< The height of the frames
count: c_int< The number of frames
frames: *mut *mut SDL_Surface< An array of frames
delays: *mut c_int< An array of frame delays, in milliseconds
Trait Implementations§
Source§impl Clone for IMG_Animation
impl Clone for IMG_Animation
Source§fn clone(&self) -> IMG_Animation
fn clone(&self) -> IMG_Animation
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 IMG_Animation
impl Debug for IMG_Animation
Source§impl Default for IMG_Animation
impl Default for IMG_Animation
Source§impl Hash for IMG_Animation
impl Hash for IMG_Animation
impl Copy for IMG_Animation
Auto Trait Implementations§
impl Freeze for IMG_Animation
impl RefUnwindSafe for IMG_Animation
impl !Send for IMG_Animation
impl !Sync for IMG_Animation
impl Unpin for IMG_Animation
impl UnsafeUnpin for IMG_Animation
impl UnwindSafe for IMG_Animation
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