pub enum Construction {
File,
Idat,
Item,
}Expand description
Where an item’s bytes live.
Variants§
File
Offsets are absolute within the file. This is what almost every AVIF
uses: the extents point into mdat.
Idat
Offsets are relative to the start of the idat box, which is how small
items are carried inside meta itself. A grid item’s configuration
is normally stored this way.
Item
Offsets are relative to another item’s data.
Legal but vanishingly rare, and it invites reference cycles that a
resolver has to defend against. Reported PixelsError::Unsupported
rather than implemented speculatively.
Trait Implementations§
Source§impl Clone for Construction
impl Clone for Construction
impl Copy for Construction
Source§impl Debug for Construction
impl Debug for Construction
impl Eq for Construction
Source§impl PartialEq for Construction
impl PartialEq for Construction
impl StructuralPartialEq for Construction
Auto Trait Implementations§
impl Freeze for Construction
impl RefUnwindSafe for Construction
impl Send for Construction
impl Sync for Construction
impl Unpin for Construction
impl UnsafeUnpin for Construction
impl UnwindSafe for Construction
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