Function rexiv2::get_tag_type
[−]
[src]
pub fn get_tag_type(tag: &str) -> Result<TagType>
Determine the type of the given tag.
Examples
assert_eq!(rexiv2::get_tag_type("Iptc.Application2.Subject"), Ok(rexiv2::TagType::String)); assert_eq!(rexiv2::get_tag_type("Iptc.Application2.DateCreated"), Ok(rexiv2::TagType::Date));