pub struct LruTileCache { /* private fields */ }Expand description
LRU cache for GPU buffers
Manages a fixed-capacity cache of GPU buffers with LRU eviction policy. When capacity is reached, least recently used tile is evicted.
Implementations§
Source§impl LruTileCache
impl LruTileCache
Auto Trait Implementations§
impl !RefUnwindSafe for LruTileCache
impl !UnwindSafe for LruTileCache
impl Freeze for LruTileCache
impl Send for LruTileCache
impl Sync for LruTileCache
impl Unpin for LruTileCache
impl UnsafeUnpin for LruTileCache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more