#[non_exhaustive]pub struct ChannelDefinitionEntry {
pub channel: u16,
pub definition: ChannelDefinition,
}Expand description
One entry of a file’s channel definition box (cdef), as written: the
channel it describes and that channel’s definition.
Jp2Metadata::channels has the labels of the output channels in output
order; these entries are indexed by Cn, the channel’s position before
the cdef box reorders anything.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.channel: u16Cn: the channel described, counting the components after palette
expansion (the codestream’s components for a file without a palette).
definition: ChannelDefinitionTyp and Asoc.
Trait Implementations§
Source§impl Clone for ChannelDefinitionEntry
impl Clone for ChannelDefinitionEntry
Source§impl Debug for ChannelDefinitionEntry
impl Debug for ChannelDefinitionEntry
impl Eq for ChannelDefinitionEntry
Source§impl PartialEq for ChannelDefinitionEntry
impl PartialEq for ChannelDefinitionEntry
impl StructuralPartialEq for ChannelDefinitionEntry
Auto Trait Implementations§
impl Forget for ChannelDefinitionEntry
impl Freeze for ChannelDefinitionEntry
impl Move for ChannelDefinitionEntry
impl RefUnwindSafe for ChannelDefinitionEntry
impl Send for ChannelDefinitionEntry
impl Sync for ChannelDefinitionEntry
impl Unpin for ChannelDefinitionEntry
impl UnsafeUnpin for ChannelDefinitionEntry
impl UnwindSafe for ChannelDefinitionEntry
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