#[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 duplicate 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
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