pub struct ExifFields { /* private fields */ }Expand description
Common EXIF fields for building metadata.
Created via Exif::build(), this struct provides a type-safe builder
for common EXIF tags. Chain methods to set fields, then pass to
encoder::EncoderConfig::exif.
Implementations§
Source§impl ExifFields
impl ExifFields
Sourcepub fn orientation(self, orientation: Orientation) -> Self
pub fn orientation(self, orientation: Orientation) -> Self
Set the EXIF orientation tag.
This controls how image viewers should rotate/flip the image for display.
Trait Implementations§
Source§impl Clone for ExifFields
impl Clone for ExifFields
Source§fn clone(&self) -> ExifFields
fn clone(&self) -> ExifFields
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 ExifFields
impl Debug for ExifFields
Source§impl Default for ExifFields
impl Default for ExifFields
Source§fn default() -> ExifFields
fn default() -> ExifFields
Returns the “default value” for a type. Read more
Source§impl From<ExifFields> for Exif
impl From<ExifFields> for Exif
Source§fn from(fields: ExifFields) -> Self
fn from(fields: ExifFields) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExifFields
impl RefUnwindSafe for ExifFields
impl Send for ExifFields
impl Sync for ExifFields
impl Unpin for ExifFields
impl UnwindSafe for ExifFields
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