#[non_exhaustive]pub enum ItemSemantic {
Primary,
GainMap,
DepthMap,
ConfidenceMap,
Other(String),
}Expand description
Semantic role of an item in a GContainer directory.
These correspond to Item:Semantic values in the XMP
Container:Directory. Used by Ultra HDR, Android Dynamic Depth
Format, and Google Camera output.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Primary
Primary image ("Primary").
GainMap
HDR gain map ("GainMap").
DepthMap
Depth map ("DepthMap").
ConfidenceMap
Confidence / quality map for depth ("ConfidenceMap").
Other(String)
Unrecognized or vendor-specific semantic.
Implementations§
Source§impl ItemSemantic
impl ItemSemantic
Trait Implementations§
Source§impl Clone for ItemSemantic
impl Clone for ItemSemantic
Source§fn clone(&self) -> ItemSemantic
fn clone(&self) -> ItemSemantic
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 ItemSemantic
impl Debug for ItemSemantic
impl Eq for ItemSemantic
Source§impl PartialEq for ItemSemantic
impl PartialEq for ItemSemantic
impl StructuralPartialEq for ItemSemantic
Auto Trait Implementations§
impl Freeze for ItemSemantic
impl RefUnwindSafe for ItemSemantic
impl Send for ItemSemantic
impl Sync for ItemSemantic
impl Unpin for ItemSemantic
impl UnsafeUnpin for ItemSemantic
impl UnwindSafe for ItemSemantic
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