Struct webrender::picture::PrimitiveComparisonKey
source · struct PrimitiveComparisonKey {
prev_index: PrimitiveDependencyIndex,
curr_index: PrimitiveDependencyIndex,
}
Expand description
A key for storing primitive comparison results during tile dependency tests.
Fields§
§prev_index: PrimitiveDependencyIndex
§curr_index: PrimitiveDependencyIndex
Trait Implementations§
source§impl Clone for PrimitiveComparisonKey
impl Clone for PrimitiveComparisonKey
source§fn clone(&self) -> PrimitiveComparisonKey
fn clone(&self) -> PrimitiveComparisonKey
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 PrimitiveComparisonKey
impl Debug for PrimitiveComparisonKey
source§impl Hash for PrimitiveComparisonKey
impl Hash for PrimitiveComparisonKey
source§impl PartialEq for PrimitiveComparisonKey
impl PartialEq for PrimitiveComparisonKey
source§fn eq(&self, other: &PrimitiveComparisonKey) -> bool
fn eq(&self, other: &PrimitiveComparisonKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PrimitiveComparisonKey
impl Eq for PrimitiveComparisonKey
impl StructuralPartialEq for PrimitiveComparisonKey
Auto Trait Implementations§
impl Freeze for PrimitiveComparisonKey
impl RefUnwindSafe for PrimitiveComparisonKey
impl Send for PrimitiveComparisonKey
impl Sync for PrimitiveComparisonKey
impl Unpin for PrimitiveComparisonKey
impl UnwindSafe for PrimitiveComparisonKey
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