pub struct PictureCacheEntry {
pub size: DeviceIntSize,
pub last_access: FrameStamp,
pub uv_rect_handle: GpuCacheHandle,
pub texture_id: CacheTextureId,
}Fields§
§size: DeviceIntSizeSize of the requested tile.
last_access: FrameStampThe last frame this item was requested for rendering.
uv_rect_handle: GpuCacheHandleHandle to the resource rect in the GPU cache.
texture_id: CacheTextureIdThe actual device texture ID this is part of.
Implementations§
Source§impl PictureCacheEntry
impl PictureCacheEntry
fn update_gpu_cache(&mut self, gpu_cache: &mut GpuCache)
Trait Implementations§
Source§impl Debug for PictureCacheEntry
impl Debug for PictureCacheEntry
Auto Trait Implementations§
impl Freeze for PictureCacheEntry
impl RefUnwindSafe for PictureCacheEntry
impl Send for PictureCacheEntry
impl Sync for PictureCacheEntry
impl Unpin for PictureCacheEntry
impl UnwindSafe for PictureCacheEntry
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
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