pub enum AtlasSpaceDiagnostics {
Unavailable,
Allocation {
width: u32,
height: u32,
atlas_width: u32,
atlas_height: u32,
max_atlases: usize,
atlases: Vec<AtlasLayerDiagnostics>,
},
}Expand description
Free-space details collected after an atlas allocation fails.
Variants§
No allocation context is available.
Allocation
Details about the requested allocation and available atlas space.
Fields
§
atlases: Vec<AtlasLayerDiagnostics>Per-layer details for each atlas considered for the allocation.
Trait Implementations§
Source§impl Clone for AtlasSpaceDiagnostics
impl Clone for AtlasSpaceDiagnostics
Source§fn clone(&self) -> AtlasSpaceDiagnostics
fn clone(&self) -> AtlasSpaceDiagnostics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AtlasSpaceDiagnostics
impl Debug for AtlasSpaceDiagnostics
Auto Trait Implementations§
impl Freeze for AtlasSpaceDiagnostics
impl RefUnwindSafe for AtlasSpaceDiagnostics
impl Send for AtlasSpaceDiagnostics
impl Sync for AtlasSpaceDiagnostics
impl Unpin for AtlasSpaceDiagnostics
impl UnsafeUnpin for AtlasSpaceDiagnostics
impl UnwindSafe for AtlasSpaceDiagnostics
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