[]Enum rusttype::gpu_cache::CachedBy

pub enum CachedBy {
    Adding,
    Reordering,
}

Successful method of caching of the queue.

Variants

Adding

Added any additional glyphs into the texture without affecting the position of any already cached glyphs in the latest queue.

Glyphs not in the latest queue may have been removed.

Reordering

Fit the glyph queue by re-ordering all glyph texture positions. Previous texture positions are no longer valid.

Trait Implementations

impl PartialEq<CachedBy> for CachedBy

impl Debug for CachedBy

impl Eq for CachedBy

impl Ord for CachedBy

impl PartialOrd<CachedBy> for CachedBy

impl Hash for CachedBy

impl Clone for CachedBy

impl Copy for CachedBy

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[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.

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]