pub struct AtlasLimitError {
pub max_side: u32,
pub needed: u32,
}Expand description
The device cannot hold the atlas: its texture limit is below the atlas already in use.
Fields§
§max_side: u32The device’s largest texture side.
needed: u32Texels the atlas needs at least: its page side, or its current height.
Trait Implementations§
Source§impl Clone for AtlasLimitError
impl Clone for AtlasLimitError
impl Copy for AtlasLimitError
Source§impl Debug for AtlasLimitError
impl Debug for AtlasLimitError
Source§impl Display for AtlasLimitError
impl Display for AtlasLimitError
impl Eq for AtlasLimitError
Source§impl Error for AtlasLimitError
impl Error for AtlasLimitError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AtlasLimitError
impl PartialEq for AtlasLimitError
impl StructuralPartialEq for AtlasLimitError
Auto Trait Implementations§
impl Freeze for AtlasLimitError
impl RefUnwindSafe for AtlasLimitError
impl Send for AtlasLimitError
impl Sync for AtlasLimitError
impl Unpin for AtlasLimitError
impl UnsafeUnpin for AtlasLimitError
impl UnwindSafe for AtlasLimitError
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