pub struct Item {
pub id: u32,
pub kind: FourCc,
pub name: String,
pub hidden: bool,
pub construction: Construction,
pub extents: Vec<Extent>,
}Expand description
One entry of the file’s item table.
Fields§
§id: u32The item’s identifier, unique within the file.
kind: FourCcThe item type: av01 for a coded image, grid for a derived tiling,
Exif or mime for metadata.
name: StringThe item’s name, which is informational.
Whether the item is marked hidden and so must not be displayed on its own. An alpha plane is normally hidden.
construction: ConstructionHow this item’s extents are addressed.
extents: Vec<Extent>The runs of bytes that make up the item, in order.
Implementations§
Trait Implementations§
impl Eq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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