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 !=.