pub struct WebpFileMetadata {
pub icc: Option<Vec<u8>>,
pub exif: Option<Vec<u8>>,
pub xmp: Option<Vec<u8>>,
}Expand description
File-level metadata chunks, each carrying the raw chunk payload bytes when present.
Fields§
§icc: Option<Vec<u8>>§2.7.1.4 ICCP ICC color-profile payload, if present.
exif: Option<Vec<u8>>§2.7.1.5 EXIF Exif payload, if present.
xmp: Option<Vec<u8>>§2.7.1.5 XMP XMP payload, if present.
Trait Implementations§
Source§impl Clone for WebpFileMetadata
impl Clone for WebpFileMetadata
Source§fn clone(&self) -> WebpFileMetadata
fn clone(&self) -> WebpFileMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WebpFileMetadata
impl Debug for WebpFileMetadata
Source§impl Default for WebpFileMetadata
impl Default for WebpFileMetadata
Source§fn default() -> WebpFileMetadata
fn default() -> WebpFileMetadata
Returns the “default value” for a type. Read more
impl Eq for WebpFileMetadata
Source§impl From<WebpMetadataOwned> for WebpFileMetadata
impl From<WebpMetadataOwned> for WebpFileMetadata
Source§fn from(m: WebpMetadataOwned) -> Self
fn from(m: WebpMetadataOwned) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebpFileMetadata
impl PartialEq for WebpFileMetadata
Source§fn eq(&self, other: &WebpFileMetadata) -> bool
fn eq(&self, other: &WebpFileMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebpFileMetadata
Auto Trait Implementations§
impl Freeze for WebpFileMetadata
impl RefUnwindSafe for WebpFileMetadata
impl Send for WebpFileMetadata
impl Sync for WebpFileMetadata
impl Unpin for WebpFileMetadata
impl UnsafeUnpin for WebpFileMetadata
impl UnwindSafe for WebpFileMetadata
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