#[non_exhaustive]pub enum GrayExpand {
Broadcast,
}Expand description
How to expand grayscale channels to RGB.
Used when converting from a grayscale layout to an RGB-family layout.
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.
Broadcast
Channel broadcast: v → (v, v, v). Lossless.
Trait Implementations§
Source§impl Clone for GrayExpand
impl Clone for GrayExpand
Source§fn clone(&self) -> GrayExpand
fn clone(&self) -> GrayExpand
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 GrayExpand
impl Debug for GrayExpand
Source§impl Hash for GrayExpand
impl Hash for GrayExpand
Source§impl PartialEq for GrayExpand
impl PartialEq for GrayExpand
impl Copy for GrayExpand
impl Eq for GrayExpand
impl StructuralPartialEq for GrayExpand
Auto Trait Implementations§
impl Freeze for GrayExpand
impl RefUnwindSafe for GrayExpand
impl Send for GrayExpand
impl Sync for GrayExpand
impl Unpin for GrayExpand
impl UnsafeUnpin for GrayExpand
impl UnwindSafe for GrayExpand
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