#[repr(u32)]pub enum PixelIntensityMethod {
Undefined = 0,
Average = 1,
Brightness = 2,
Lightness = 3,
MS = 4,
Rec601Luma = 5,
Rec601Luminance = 6,
Rec709Luma = 7,
Rec709Luminance = 8,
RMS = 9,
}
Variants§
Undefined = 0
Average = 1
Brightness = 2
Lightness = 3
MS = 4
Rec601Luma = 5
Rec601Luminance = 6
Rec709Luma = 7
Rec709Luminance = 8
RMS = 9
Trait Implementations§
source§impl Clone for PixelIntensityMethod
impl Clone for PixelIntensityMethod
source§fn clone(&self) -> PixelIntensityMethod
fn clone(&self) -> PixelIntensityMethod
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 PixelIntensityMethod
impl Debug for PixelIntensityMethod
source§impl Hash for PixelIntensityMethod
impl Hash for PixelIntensityMethod
source§impl PartialEq for PixelIntensityMethod
impl PartialEq for PixelIntensityMethod
source§fn eq(&self, other: &PixelIntensityMethod) -> bool
fn eq(&self, other: &PixelIntensityMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PixelIntensityMethod
impl Eq for PixelIntensityMethod
impl StructuralPartialEq for PixelIntensityMethod
Auto Trait Implementations§
impl Freeze for PixelIntensityMethod
impl RefUnwindSafe for PixelIntensityMethod
impl Send for PixelIntensityMethod
impl Sync for PixelIntensityMethod
impl Unpin for PixelIntensityMethod
impl UnwindSafe for PixelIntensityMethod
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)