Struct exif::Tag
[−]
[src]
pub struct Tag(pub Context, pub u16);
A tag of a TIFF field.
Methods
impl Tag
[src]
fn context(self) -> Context
Returns the context of the tag.
fn number(self) -> u16
Returns the tag number.
fn value(self) -> u16
Deprecated since 0.2.0
: renamed to number()
Returns the tag number.
fn description(&self) -> Option<&str>
Returns the description of the tag.
fn default_value(&self) -> Option<Value>
Returns the default value of the tag. None
is returned if
it is not defined in the standard or it depends on the context.
Trait Implementations
impl Debug for Tag
[src]
impl Copy for Tag
[src]
impl Clone for Tag
[src]
fn clone(&self) -> Tag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Tag
[src]
fn eq(&self, __arg_0: &Tag) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Tag) -> bool
This method tests for !=
.
impl Eq for Tag
[src]
impl Hash for Tag
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more