titlefmt 0.4.0

Metadata Title Formatting Library
Documentation
1
2
3
4
5
6
7
8
9
/// Trait for a metadata-providing object.
///
/// For example, a single audio file or track.
pub trait Provider {
    /// Returns the value of a tag with the tag key given as parameter.
    ///
    /// If there is no corresponding entry in the metadata then `None` should be returned.
    fn tag_value(&self, &str) -> Option<String>;
}