pub enum J2kChannelAssociation {
WholeImage,
Color {
index: u16,
},
Unspecified,
}Expand description
JP2/JPH channel association.
Variants§
WholeImage
Applies to the whole image.
Color
Associated with a one-based color channel index from CDEF.
Unspecified
Association is unspecified.
Trait Implementations§
Source§impl Clone for J2kChannelAssociation
impl Clone for J2kChannelAssociation
Source§fn clone(&self) -> J2kChannelAssociation
fn clone(&self) -> J2kChannelAssociation
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 J2kChannelAssociation
Source§impl Debug for J2kChannelAssociation
impl Debug for J2kChannelAssociation
impl Eq for J2kChannelAssociation
Source§impl Hash for J2kChannelAssociation
impl Hash for J2kChannelAssociation
Source§impl PartialEq for J2kChannelAssociation
impl PartialEq for J2kChannelAssociation
Source§fn eq(&self, other: &J2kChannelAssociation) -> bool
fn eq(&self, other: &J2kChannelAssociation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for J2kChannelAssociation
Auto Trait Implementations§
impl Freeze for J2kChannelAssociation
impl RefUnwindSafe for J2kChannelAssociation
impl Send for J2kChannelAssociation
impl Sync for J2kChannelAssociation
impl Unpin for J2kChannelAssociation
impl UnsafeUnpin for J2kChannelAssociation
impl UnwindSafe for J2kChannelAssociation
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