Struct micro_games_kit::animation::SpriteAnimationFrame
source · pub struct SpriteAnimationFrame {
pub texture: TextureRef,
pub region: Rect<f32, f32>,
pub page: f32,
}Fields§
§texture: TextureRef§region: Rect<f32, f32>§page: f32Trait Implementations§
source§impl Clone for SpriteAnimationFrame
impl Clone for SpriteAnimationFrame
source§fn clone(&self) -> SpriteAnimationFrame
fn clone(&self) -> SpriteAnimationFrame
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for SpriteAnimationFrame
impl !Send for SpriteAnimationFrame
impl !Sync for SpriteAnimationFrame
impl Unpin for SpriteAnimationFrame
impl !UnwindSafe for SpriteAnimationFrame
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