pub enum Association {
WholeImage,
Color(u16),
None,
}Expand description
The color a channel is associated with, from a channel definition
(Asoc).
Variants§
WholeImage
The channel applies to the whole image (Asoc 0), as an opacity
channel usually does.
Color(u16)
The channel is color n of the color space, counting from 1 (for
sRGB, 1 is red, 2 green, 3 blue).
None
No association (Asoc 65535).
Trait Implementations§
Source§impl Clone for Association
impl Clone for Association
impl Copy for Association
Source§impl Debug for Association
impl Debug for Association
impl Eq for Association
Source§impl PartialEq for Association
impl PartialEq for Association
impl StructuralPartialEq for Association
Auto Trait Implementations§
impl Forget for Association
impl Freeze for Association
impl Move for Association
impl RefUnwindSafe for Association
impl Send for Association
impl Sync for Association
impl Unpin for Association
impl UnsafeUnpin for Association
impl UnwindSafe for Association
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