pub enum ChannelType {
Color,
Opacity,
PremultipliedOpacity,
Unspecified,
Other(u16),
}Expand description
A channel’s type, from a channel definition (Typ).
Variants§
Color
A color channel (Typ 0).
Opacity
An opacity channel (Typ 1).
PremultipliedOpacity
A premultiplied opacity channel (Typ 2).
Unspecified
The type is not specified (Typ 65535).
Other(u16)
A reserved Typ value, reported as is.
Trait Implementations§
Source§impl Clone for ChannelType
impl Clone for ChannelType
impl Copy for ChannelType
Source§impl Debug for ChannelType
impl Debug for ChannelType
impl Eq for ChannelType
Source§impl PartialEq for ChannelType
impl PartialEq for ChannelType
impl StructuralPartialEq for ChannelType
Auto Trait Implementations§
impl Forget for ChannelType
impl Freeze for ChannelType
impl Move for ChannelType
impl RefUnwindSafe for ChannelType
impl Send for ChannelType
impl Sync for ChannelType
impl Unpin for ChannelType
impl UnsafeUnpin for ChannelType
impl UnwindSafe for ChannelType
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