pub enum BoxType {
Show 17 variants
Signature,
FileType,
Jp2Header,
ImageHeader,
ColourSpec,
Palette,
ComponentMapping,
ChannelDef,
Resolution,
CaptureResolution,
DisplayResolution,
ContiguousCodestream,
IntellectualProperty,
Xml,
Uuid,
UuidInfo,
Unknown(u32),
}Expand description
JP2 box type codes (ISO 15444-1 Table I-2).
Variants§
Signature
jP — JPEG2000 signature box (0x6A502020)
FileType
ftyp — File type box
Jp2Header
JP2H — JP2 header super-box (note: uppercase in spec, actual bytes jp2h)
ImageHeader
ihdr — Image header box
ColourSpec
colr — Colour specification box
Palette
pclr — Palette box
ComponentMapping
cmap — Component mapping box
ChannelDef
cdef — Channel definition box
Resolution
res — Resolution super-box
CaptureResolution
resc — Capture resolution box
DisplayResolution
resd — Display resolution box
ContiguousCodestream
jp2c — Contiguous codestream box
IntellectualProperty
jp2i — Intellectual property rights box
Xml
xml — XML box
Uuid
uuid — UUID box
UuidInfo
uinf — UUID info super-box
Unknown(u32)
Unknown box type (raw 4-byte code stored for pass-through).
Implementations§
Trait Implementations§
impl Eq for BoxType
impl StructuralPartialEq for BoxType
Auto Trait Implementations§
impl Freeze for BoxType
impl RefUnwindSafe for BoxType
impl Send for BoxType
impl Sync for BoxType
impl Unpin for BoxType
impl UnsafeUnpin for BoxType
impl UnwindSafe for BoxType
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