pub enum Property<'a> {
Ispe {
width: u32,
height: u32,
},
HvcC(&'a [u8]),
Av1C(&'a [u8]),
Colr(Colour<'a>),
Irot(u8),
Imir(u8),
Clap(Clap),
Pixi(Vec<u8>),
AuxC {
aux_type: String,
subtype: &'a [u8],
},
Other([u8; 4]),
}Expand description
One property of ipco. Payloads are borrowed from the file buffer.
Variants§
Ispe
ispe: the image’s width and height.
HvcC(&'a [u8])
hvcC: the HEVC decoder configuration record, verbatim.
Av1C(&'a [u8])
av1C: the AV1 codec configuration record, verbatim.
Colr(Colour<'a>)
Irot(u8)
irot: anti-clockwise rotation in units of 90 degrees (0-3).
Imir(u8)
imir: 0 = mirror about a vertical axis (left-right flip),
1 = about a horizontal axis (top-bottom flip).
Clap(Clap)
Pixi(Vec<u8>)
pixi: bits per channel.
AuxC
auxC: the auxiliary image’s type URN (alpha, depth, …).
Other([u8; 4])
Anything else, by box type.
Trait Implementations§
impl<'a> Eq for Property<'a>
impl<'a> StructuralPartialEq for Property<'a>
Auto Trait Implementations§
impl<'a> Forget for Property<'a>
impl<'a> Freeze for Property<'a>
impl<'a> Move for Property<'a>
impl<'a> RefUnwindSafe for Property<'a>
impl<'a> Send for Property<'a>
impl<'a> Sync for Property<'a>
impl<'a> Unpin for Property<'a>
impl<'a> UnsafeUnpin for Property<'a>
impl<'a> UnwindSafe for Property<'a>
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