[−][src]Enum elefont::CacheError
An error generated during a cache operation
Variants
No matter what, the texture is too small to render the glyph (even when empty)
To fix this error, expand the texture. Make sure to clear the cache if the texture data is also invalidated
The cache cannot store the current request without clearing it first
NonRenderableGlyph(Glyph)
A glyph was passed to a render method but it could not be rendered
For example, unsized glyphs (glyphs with None for their bounds
) cannot be rendered
Trait Implementations
impl Clone for CacheError
[src]
fn clone(&self) -> CacheError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CacheError
[src]
impl Debug for CacheError
[src]
Auto Trait Implementations
impl RefUnwindSafe for CacheError
impl Send for CacheError
impl Sync for CacheError
impl Unpin for CacheError
impl UnwindSafe for CacheError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,