pub enum J2kChannelType {
Color,
Opacity,
PremultipliedOpacity,
Unspecified,
Unknown {
value: u16,
},
}Expand description
JP2/JPH channel type.
Variants§
Color
Color channel.
Opacity
Opacity channel.
PremultipliedOpacity
Premultiplied opacity channel.
Unspecified
Channel type is unspecified.
Unknown
Unknown raw channel type.
Trait Implementations§
Source§impl Clone for J2kChannelType
impl Clone for J2kChannelType
Source§fn clone(&self) -> J2kChannelType
fn clone(&self) -> J2kChannelType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for J2kChannelType
Source§impl Debug for J2kChannelType
impl Debug for J2kChannelType
impl Eq for J2kChannelType
Source§impl Hash for J2kChannelType
impl Hash for J2kChannelType
Source§impl PartialEq for J2kChannelType
impl PartialEq for J2kChannelType
impl StructuralPartialEq for J2kChannelType
Auto Trait Implementations§
impl Freeze for J2kChannelType
impl RefUnwindSafe for J2kChannelType
impl Send for J2kChannelType
impl Sync for J2kChannelType
impl Unpin for J2kChannelType
impl UnsafeUnpin for J2kChannelType
impl UnwindSafe for J2kChannelType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more