pub struct DecodedMetadata {
pub format: ImageFileFormat,
pub source_color_type: SourceColorType,
pub orientation: Orientation,
pub orientation_applied: bool,
}Expand description
Metadata describing encoded pixels and orientation handling.
Fields§
§format: ImageFileFormatDetected container/codec format.
source_color_type: SourceColorTypeSample and channel representation reported by the decoder.
orientation: OrientationOrientation tag found in the encoded container.
orientation_applied: boolWhether a non-identity orientation was applied to the returned pixels.
Trait Implementations§
Source§impl Clone for DecodedMetadata
impl Clone for DecodedMetadata
Source§fn clone(&self) -> DecodedMetadata
fn clone(&self) -> DecodedMetadata
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 DecodedMetadata
impl Debug for DecodedMetadata
Source§impl PartialEq for DecodedMetadata
impl PartialEq for DecodedMetadata
Source§fn eq(&self, other: &DecodedMetadata) -> bool
fn eq(&self, other: &DecodedMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DecodedMetadata
impl Eq for DecodedMetadata
impl StructuralPartialEq for DecodedMetadata
Auto Trait Implementations§
impl Freeze for DecodedMetadata
impl RefUnwindSafe for DecodedMetadata
impl Send for DecodedMetadata
impl Sync for DecodedMetadata
impl Unpin for DecodedMetadata
impl UnsafeUnpin for DecodedMetadata
impl UnwindSafe for DecodedMetadata
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