pub struct RawAsepriteSlice {
pub frame: u32,
pub x_origin: i32,
pub y_origin: i32,
pub width: u32,
pub height: u32,
pub nine_patch_info: Option<AsepriteNinePatchInfo>,
pub pivot: Option<AsepritePivot>,
}
Expand description
Raw Slice
Fields§
§frame: u32
For which frame this slice is valid from (to the end of the animation)
x_origin: i32
x origin, relative to the sprite
y_origin: i32
y origin, relative to the sprite
width: u32
slice width
this may be 0 if hidden from the given frame
height: u32
slice height
nine_patch_info: Option<AsepriteNinePatchInfo>
9-Patch info, if any
pivot: Option<AsepritePivot>
A pivot, if any
Auto Trait Implementations§
impl Freeze for RawAsepriteSlice
impl RefUnwindSafe for RawAsepriteSlice
impl Send for RawAsepriteSlice
impl Sync for RawAsepriteSlice
impl Unpin for RawAsepriteSlice
impl UnwindSafe for RawAsepriteSlice
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