pub struct TextureAnimation {
pub width: usize,
pub height: usize,
pub num_frames: usize,
}
Fields§
§width: usize
§height: usize
§num_frames: usize
Trait Implementations§
Source§impl Clone for TextureAnimation
impl Clone for TextureAnimation
Source§fn clone(&self) -> TextureAnimation
fn clone(&self) -> TextureAnimation
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 TextureAnimation
impl Debug for TextureAnimation
Source§impl Default for TextureAnimation
impl Default for TextureAnimation
Source§fn default() -> TextureAnimation
fn default() -> TextureAnimation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextureAnimation
impl RefUnwindSafe for TextureAnimation
impl Send for TextureAnimation
impl Sync for TextureAnimation
impl Unpin for TextureAnimation
impl UnwindSafe for TextureAnimation
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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