pub enum ColorKey {
Gray(u16),
Rgb([u16; 3]),
}Expand description
The single colour that a tRNS chunk marks as fully transparent in a
greyscale or RGB image, as raw sample values at the image’s bit depth.
Variants§
Trait Implementations§
impl Copy for ColorKey
impl Eq for ColorKey
impl StructuralPartialEq for ColorKey
Auto Trait Implementations§
impl Forget for ColorKey
impl Freeze for ColorKey
impl Move for ColorKey
impl RefUnwindSafe for ColorKey
impl Send for ColorKey
impl Sync for ColorKey
impl Unpin for ColorKey
impl UnsafeUnpin for ColorKey
impl UnwindSafe for ColorKey
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