[][src]Struct tesserae::TileCache

pub struct TileCache<'r, C> { /* fields omitted */ }

An alternative backend that stores each individual tile as a separate SDL texture in a hashtable. Can be used in some cases as a drop-in replacement for a textured graphic. Draw is slightly slower but updating textures is significantly faster if the same tile is used in a lot of different places.

Auto Trait Implementations

impl<'r, C> !RefUnwindSafe for TileCache<'r, C>

impl<'r, C> !Send for TileCache<'r, C>

impl<'r, C> !Sync for TileCache<'r, C>

impl<'r, C> Unpin for TileCache<'r, C>

impl<'r, C> !UnwindSafe for TileCache<'r, C>

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, 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.