Enum rusttype::gpu_cache::CacheWriteErr [] [src]

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

Derived Implementations

impl Ord for CacheWriteErr

fn cmp(&self, __arg_0: &CacheWriteErr) -> Ordering

impl PartialOrd for CacheWriteErr

fn partial_cmp(&self, __arg_0: &CacheWriteErr) -> Option<Ordering>

fn lt(&self, __arg_0: &CacheWriteErr) -> bool

fn le(&self, __arg_0: &CacheWriteErr) -> bool

fn gt(&self, __arg_0: &CacheWriteErr) -> bool

fn ge(&self, __arg_0: &CacheWriteErr) -> bool

impl Eq for CacheWriteErr

impl PartialEq for CacheWriteErr

fn eq(&self, __arg_0: &CacheWriteErr) -> bool

fn ne(&self, __arg_0: &CacheWriteErr) -> bool

impl Debug for CacheWriteErr

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for CacheWriteErr

fn clone(&self) -> CacheWriteErr

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for CacheWriteErr