#[non_exhaustive]pub enum HashInclusions {
SamplesAndLayout,
PixelsAndColor,
PixelsColorAndClaims,
}Expand description
Fields included in a portable pixel fingerprint. Storage padding is always excluded.
Defaults to PixelsAndColor so caching or scanning
SampleClaims never perturbs fingerprints of otherwise identical buffers.
Note: Orientation, ColorOrigin, and
HdrMetadata are never included in any variant.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SamplesAndLayout
Active sample values, dimensions, and physical sample layout/packing only (no color space or claims).
PixelsAndColor
Everything in SamplesAndLayout, plus alpha mode and current ColorSpace.
PixelsColorAndClaims
Everything in PixelsAndColor, plus attached SampleClaims where present.
Trait Implementations§
Source§impl Clone for HashInclusions
impl Clone for HashInclusions
Source§fn clone(&self) -> HashInclusions
fn clone(&self) -> HashInclusions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HashInclusions
Source§impl Debug for HashInclusions
impl Debug for HashInclusions
Source§impl Default for HashInclusions
impl Default for HashInclusions
Source§fn default() -> HashInclusions
fn default() -> HashInclusions
Returns the “default value” for a type. Read more
impl Eq for HashInclusions
Source§impl Hash for HashInclusions
impl Hash for HashInclusions
Source§impl PartialEq for HashInclusions
impl PartialEq for HashInclusions
impl StructuralPartialEq for HashInclusions
Auto Trait Implementations§
impl Freeze for HashInclusions
impl RefUnwindSafe for HashInclusions
impl Send for HashInclusions
impl Sync for HashInclusions
impl Unpin for HashInclusions
impl UnsafeUnpin for HashInclusions
impl UnwindSafe for HashInclusions
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