Struct webrender::picture_textures::PictureCacheEntry
source · pub struct PictureCacheEntry {
pub size: DeviceIntSize,
pub last_access: FrameStamp,
pub uv_rect_handle: GpuCacheHandle,
pub texture_id: CacheTextureId,
}
Fields§
§size: DeviceIntSize
Size of the requested tile.
last_access: FrameStamp
The last frame this item was requested for rendering.
uv_rect_handle: GpuCacheHandle
Handle to the resource rect in the GPU cache.
texture_id: CacheTextureId
The 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