Enum tiff::tags::ResolutionUnit
source · pub enum ResolutionUnit {
None,
Inch,
Centimeter,
// some variants omitted
}
Expand description
Type to represent resolution units
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ResolutionUnit
impl Clone for ResolutionUnit
source§fn clone(&self) -> ResolutionUnit
fn clone(&self) -> ResolutionUnit
Returns a copy 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 ResolutionUnit
impl Debug for ResolutionUnit
source§impl Hash for ResolutionUnit
impl Hash for ResolutionUnit
source§impl PartialEq for ResolutionUnit
impl PartialEq for ResolutionUnit
source§fn eq(&self, other: &ResolutionUnit) -> bool
fn eq(&self, other: &ResolutionUnit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ResolutionUnit
impl Eq for ResolutionUnit
impl StructuralEq for ResolutionUnit
impl StructuralPartialEq for ResolutionUnit
Auto Trait Implementations§
impl RefUnwindSafe for ResolutionUnit
impl Send for ResolutionUnit
impl Sync for ResolutionUnit
impl Unpin for ResolutionUnit
impl UnwindSafe for ResolutionUnit
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