pub struct Header {
pub kind: FourCC,
pub size: Option<usize>,
}
Expand description
A atom header, which contains the atom’s kind and size.
Fields§
§kind: FourCC
The name of the atom, always 4 bytes.
size: Option<usize>
The size of the atom, excluding the header. This is optional when the atom extends to the end of the file.
Trait Implementations§
Source§impl DecodeMaybe for Header
impl DecodeMaybe for Header
impl Copy for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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