pub struct AtlasResult {
pub image: DynamicImage,
pub chars: Vec<PackedChar>,
pub width: u32,
pub height: u32,
}Expand description
Result of the packing operation
Fields§
§image: DynamicImageThe generated atlas image
chars: Vec<PackedChar>Information about packed characters
width: u32Atlas width
height: u32Atlas height
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AtlasResult
impl RefUnwindSafe for AtlasResult
impl Send for AtlasResult
impl Sync for AtlasResult
impl Unpin for AtlasResult
impl UnsafeUnpin for AtlasResult
impl UnwindSafe for AtlasResult
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