Struct webrender::gpu_cache::CacheLocation
source · struct CacheLocation {
block_index: BlockIndex,
epoch: Epoch,
}
Fields§
§block_index: BlockIndex
§epoch: Epoch
Trait Implementations§
source§impl Clone for CacheLocation
impl Clone for CacheLocation
source§fn clone(&self) -> CacheLocation
fn clone(&self) -> CacheLocation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CacheLocation
impl Debug for CacheLocation
source§impl MallocSizeOf for CacheLocation
impl MallocSizeOf for CacheLocation
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl Serialize for CacheLocation
impl Serialize for CacheLocation
impl Copy for CacheLocation
Auto Trait Implementations§
impl Freeze for CacheLocation
impl RefUnwindSafe for CacheLocation
impl Send for CacheLocation
impl Sync for CacheLocation
impl Unpin for CacheLocation
impl UnwindSafe for CacheLocation
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