pub enum ResolvedFormat {
Single(BinaryDataFormat),
Array(BinaryDataFormat, usize),
StringWithLength(usize),
VarString,
}
Expand description
Resolved format after expression evaluation ExifTool: Formats after $val{} expressions have been evaluated
Variants§
Single(BinaryDataFormat)
Single value format
Array(BinaryDataFormat, usize)
Array of values with known count
StringWithLength(usize)
String with known length
VarString
Variable null-terminated string
Implementations§
Source§impl ResolvedFormat
impl ResolvedFormat
Sourcepub fn base_format(&self) -> BinaryDataFormat
pub fn base_format(&self) -> BinaryDataFormat
Get the base format for value extraction
Trait Implementations§
Source§impl Clone for ResolvedFormat
impl Clone for ResolvedFormat
Source§fn clone(&self) -> ResolvedFormat
fn clone(&self) -> ResolvedFormat
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 ResolvedFormat
impl Debug for ResolvedFormat
Source§impl PartialEq for ResolvedFormat
impl PartialEq for ResolvedFormat
impl Eq for ResolvedFormat
impl StructuralPartialEq for ResolvedFormat
Auto Trait Implementations§
impl Freeze for ResolvedFormat
impl RefUnwindSafe for ResolvedFormat
impl Send for ResolvedFormat
impl Sync for ResolvedFormat
impl Unpin for ResolvedFormat
impl UnwindSafe for ResolvedFormat
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