pub struct AtlasMeta {
pub image: String,
pub width: u32,
pub height: u32,
pub padding: u32,
}Expand description
Metadata about the packed atlas image.
Fields§
§image: StringFile name of the atlas image (not a full path).
width: u32Atlas width in pixels.
height: u32Atlas height in pixels.
padding: u32Padding used between sprites.
Trait Implementations§
impl Eq for AtlasMeta
impl StructuralPartialEq for AtlasMeta
Auto Trait Implementations§
impl Freeze for AtlasMeta
impl RefUnwindSafe for AtlasMeta
impl Send for AtlasMeta
impl Sync for AtlasMeta
impl Unpin for AtlasMeta
impl UnsafeUnpin for AtlasMeta
impl UnwindSafe for AtlasMeta
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