Enum glyph_brush::BrushError
source · pub enum BrushError {
TextureTooSmall {
suggested: (u32, u32),
},
}
Variants§
TextureTooSmall
Texture is too small to cache queued glyphs
A larger suggested size is included.
Trait Implementations§
source§impl Clone for BrushError
impl Clone for BrushError
source§fn clone(&self) -> BrushError
fn clone(&self) -> BrushError
Returns a copy of the value. Read more
1.0.0 · 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 BrushError
impl Debug for BrushError
source§impl Display for BrushError
impl Display for BrushError
source§impl Error for BrushError
impl Error for BrushError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl PartialEq for BrushError
impl PartialEq for BrushError
source§fn eq(&self, other: &BrushError) -> bool
fn eq(&self, other: &BrushError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BrushError
impl StructuralEq for BrushError
impl StructuralPartialEq for BrushError
Auto Trait Implementations§
impl RefUnwindSafe for BrushError
impl Send for BrushError
impl Sync for BrushError
impl Unpin for BrushError
impl UnwindSafe for BrushError
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