#[non_exhaustive]pub enum Encoding {
Xml,
Tiff,
Jumbf,
IsoBmff,
Asset,
Unknown,
}Expand description
How an item’s bytes are serialized.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Xml
XML (XMP is RDF/XML).
Tiff
TIFF structure (EXIF is always TIFF).
Jumbf
A JUMBF superbox tree.
IsoBmff
Plain ISO BMFF boxes that are not JUMBF superboxes.
Asset
A self-contained file; its media type, when known, is Item::media_type.
Unknown
Not known to the container.
Implementations§
Trait Implementations§
impl Copy for Encoding
impl Eq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl Forget for Encoding
impl Freeze for Encoding
impl Move for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnsafeUnpin for Encoding
impl UnwindSafe for Encoding
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