pub struct AsepriteSliceImage {
pub image: RgbaImage,
pub nine_slices: Option<HashMap<NineSlice, RgbaImage>>,
}
Expand description
A single slice image
Only contains nine-patch info if the aseprite also contained one
Fields§
§image: RgbaImage
§nine_slices: Option<HashMap<NineSlice, RgbaImage>>
Auto Trait Implementations§
impl Freeze for AsepriteSliceImage
impl RefUnwindSafe for AsepriteSliceImage
impl Send for AsepriteSliceImage
impl Sync for AsepriteSliceImage
impl Unpin for AsepriteSliceImage
impl UnwindSafe for AsepriteSliceImage
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