pub enum Metadata<'d> {
Exif(&'d [u8]),
Xmp(&'d [u8]),
Jumb(&'d [u8]),
Custom([u8; 4], &'d [u8]),
}
Expand description
Metadata box
Variants§
Exif(&'d [u8])
EXIF The contents of this box must be prepended by a 4-byte tiff header offset, which may be 4 zero bytes in case the tiff header follows immediately.
Xmp(&'d [u8])
XMP/IPTC metadata
Jumb(&'d [u8])
JUMBF superbox
Custom([u8; 4], &'d [u8])
Custom Metadata.
Type should not start with jxl
, JXL
, or conflict with other box type,
and should be registered with MP4RA (mp4ra.org).
Auto Trait Implementations§
impl<'d> Freeze for Metadata<'d>
impl<'d> RefUnwindSafe for Metadata<'d>
impl<'d> Send for Metadata<'d>
impl<'d> Sync for Metadata<'d>
impl<'d> Unpin for Metadata<'d>
impl<'d> UnwindSafe for Metadata<'d>
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