[][src]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 Clone for CacheWriteErr[src]

impl Copy for CacheWriteErr[src]

impl Debug for CacheWriteErr[src]

impl Display for CacheWriteErr[src]

impl Eq for CacheWriteErr[src]

impl Error for CacheWriteErr[src]

impl Hash for CacheWriteErr[src]

impl Ord for CacheWriteErr[src]

impl PartialEq<CacheWriteErr> for CacheWriteErr[src]

impl PartialOrd<CacheWriteErr> for CacheWriteErr[src]

impl StructuralEq for CacheWriteErr[src]

impl StructuralPartialEq for CacheWriteErr[src]

Auto Trait Implementations

impl RefUnwindSafe for CacheWriteErr

impl Send for CacheWriteErr

impl Sync for CacheWriteErr

impl Unpin for CacheWriteErr

impl UnwindSafe for CacheWriteErr

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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.