pub enum PrimitiveCompareResultDetail {
Equal,
Descriptor {
old: PrimitiveDescriptor,
new: PrimitiveDescriptor,
},
Clip {
detail: CompareHelperResult<ItemUid>,
},
Transform {
detail: CompareHelperResult<SpatialNodeKey>,
},
Image {
detail: CompareHelperResult<ImageDependency>,
},
OpacityBinding {
detail: CompareHelperResult<Binding<f32>>,
},
ColorBinding {
detail: CompareHelperResult<Binding<ColorU>>,
},
}
Expand description
A more detailed version of PrimitiveCompareResult used when debug logging is enabled.
Variants§
Equal
Primitives match
Descriptor
Something in the PrimitiveDescriptor was different
Clip
The clip node content or spatial node changed
Fields
§
detail: CompareHelperResult<ItemUid>
Transform
The value of the transform changed
Fields
§
detail: CompareHelperResult<SpatialNodeKey>
Image
An image dependency was dirty
Fields
§
detail: CompareHelperResult<ImageDependency>
OpacityBinding
The value of an opacity binding changed
Fields
§
detail: CompareHelperResult<Binding<f32>>
ColorBinding
The value of a color binding changed
Fields
§
detail: CompareHelperResult<Binding<ColorU>>
Trait Implementations§
Source§impl Clone for PrimitiveCompareResultDetail
impl Clone for PrimitiveCompareResultDetail
Source§fn clone(&self) -> PrimitiveCompareResultDetail
fn clone(&self) -> PrimitiveCompareResultDetail
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 PrimitiveCompareResultDetail
impl Debug for PrimitiveCompareResultDetail
Source§impl PartialEq for PrimitiveCompareResultDetail
impl PartialEq for PrimitiveCompareResultDetail
Source§fn eq(&self, other: &PrimitiveCompareResultDetail) -> bool
fn eq(&self, other: &PrimitiveCompareResultDetail) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PrimitiveCompareResultDetail
impl StructuralPartialEq for PrimitiveCompareResultDetail
Auto Trait Implementations§
impl Freeze for PrimitiveCompareResultDetail
impl RefUnwindSafe for PrimitiveCompareResultDetail
impl Send for PrimitiveCompareResultDetail
impl Sync for PrimitiveCompareResultDetail
impl Unpin for PrimitiveCompareResultDetail
impl UnwindSafe for PrimitiveCompareResultDetail
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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