pub struct MetadataEmbedOptions {
pub embed_exif: bool,
pub embed_icc: bool,
pub embed_xmp: bool,
}Expand description
Controls which metadata blocks an encoder embeds into its output container.
Fields§
§embed_exif: boolEmbed EXIF metadata. Default: true.
embed_icc: boolEmbed the ICC color profile. Default: true.
embed_xmp: boolEmbed XMP metadata. Default: true.
Implementations§
Trait Implementations§
Source§impl Clone for MetadataEmbedOptions
impl Clone for MetadataEmbedOptions
Source§fn clone(&self) -> MetadataEmbedOptions
fn clone(&self) -> MetadataEmbedOptions
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 MetadataEmbedOptions
impl Debug for MetadataEmbedOptions
Source§impl Default for MetadataEmbedOptions
impl Default for MetadataEmbedOptions
Source§impl PartialEq for MetadataEmbedOptions
impl PartialEq for MetadataEmbedOptions
Source§fn eq(&self, other: &MetadataEmbedOptions) -> bool
fn eq(&self, other: &MetadataEmbedOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MetadataEmbedOptions
impl Eq for MetadataEmbedOptions
impl StructuralPartialEq for MetadataEmbedOptions
Auto Trait Implementations§
impl Freeze for MetadataEmbedOptions
impl RefUnwindSafe for MetadataEmbedOptions
impl Send for MetadataEmbedOptions
impl Sync for MetadataEmbedOptions
impl Unpin for MetadataEmbedOptions
impl UnsafeUnpin for MetadataEmbedOptions
impl UnwindSafe for MetadataEmbedOptions
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