Struct webrender::render_task_cache::RenderTaskCacheKey
source · pub struct RenderTaskCacheKey {
pub size: DeviceIntSize,
pub kind: RenderTaskCacheKeyKind,
}
Fields§
§size: DeviceIntSize
§kind: RenderTaskCacheKeyKind
Trait Implementations§
source§impl Clone for RenderTaskCacheKey
impl Clone for RenderTaskCacheKey
source§fn clone(&self) -> RenderTaskCacheKey
fn clone(&self) -> RenderTaskCacheKey
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 RenderTaskCacheKey
impl Debug for RenderTaskCacheKey
source§impl Hash for RenderTaskCacheKey
impl Hash for RenderTaskCacheKey
source§impl PartialEq for RenderTaskCacheKey
impl PartialEq for RenderTaskCacheKey
source§fn eq(&self, other: &RenderTaskCacheKey) -> bool
fn eq(&self, other: &RenderTaskCacheKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RenderTaskCacheKey
impl Serialize for RenderTaskCacheKey
impl Eq for RenderTaskCacheKey
impl StructuralPartialEq for RenderTaskCacheKey
Auto Trait Implementations§
impl Freeze for RenderTaskCacheKey
impl RefUnwindSafe for RenderTaskCacheKey
impl Send for RenderTaskCacheKey
impl Sync for RenderTaskCacheKey
impl Unpin for RenderTaskCacheKey
impl UnwindSafe for RenderTaskCacheKey
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