#[non_exhaustive]pub struct EmbeddedMetadata {
pub exif: Option<Arc<[u8]>>,
pub xmp: Option<Arc<[u8]>>,
}Expand description
Embedded non-color metadata from the image file.
Groups metadata blobs (EXIF, XMP) that are carried through decode/encode for roundtrip preservation but don’t affect pixel interpretation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.exif: Option<Arc<[u8]>>Embedded EXIF metadata.
xmp: Option<Arc<[u8]>>Embedded XMP metadata.
Implementations§
Trait Implementations§
Source§impl Clone for EmbeddedMetadata
impl Clone for EmbeddedMetadata
Source§fn clone(&self) -> EmbeddedMetadata
fn clone(&self) -> EmbeddedMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmbeddedMetadata
impl Debug for EmbeddedMetadata
Source§impl Default for EmbeddedMetadata
impl Default for EmbeddedMetadata
Source§fn default() -> EmbeddedMetadata
fn default() -> EmbeddedMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for EmbeddedMetadata
impl PartialEq for EmbeddedMetadata
impl StructuralPartialEq for EmbeddedMetadata
Auto Trait Implementations§
impl Freeze for EmbeddedMetadata
impl RefUnwindSafe for EmbeddedMetadata
impl Send for EmbeddedMetadata
impl Sync for EmbeddedMetadata
impl Unpin for EmbeddedMetadata
impl UnsafeUnpin for EmbeddedMetadata
impl UnwindSafe for EmbeddedMetadata
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