[]Enum rusttype::gpu_cache::CacheWriteErr

pub enum CacheWriteErr {
    GlyphTooLarge,
    NoRoomForWholeQueue,
}

Returned from Cache::cache_queued.

Variants

GlyphTooLarge

At least one of the queued glyphs is too big to fit into the cache, even if all other glyphs are removed.

NoRoomForWholeQueue

Not all of the requested glyphs can fit into the cache, even if the cache is completely cleared before the attempt.

Trait Implementations

impl PartialEq<CacheWriteErr> for CacheWriteErr

impl Display for CacheWriteErr

impl PartialOrd<CacheWriteErr> for CacheWriteErr

impl Ord for CacheWriteErr

impl Eq for CacheWriteErr

impl Error for CacheWriteErr

impl Clone for CacheWriteErr

impl Hash for CacheWriteErr

impl Debug for CacheWriteErr

impl Copy for CacheWriteErr

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]