Struct macroquad::experimental::animation::AnimationFrame
source · pub struct AnimationFrame {
pub source_rect: Rect,
pub dest_size: Vec2,
}
Expand description
Specific animation frame
Fields§
§source_rect: Rect
Area of current frame in source image
dest_size: Vec2
Size of frame
Auto Trait Implementations§
impl Freeze for AnimationFrame
impl RefUnwindSafe for AnimationFrame
impl Send for AnimationFrame
impl Sync for AnimationFrame
impl Unpin for AnimationFrame
impl UnwindSafe for AnimationFrame
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