mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-14 06:32:33 +00:00
Remove IntoIterator impls for Tag due to items/pictures ambiguity
This commit is contained in:
parent
76cddb7719
commit
31894bedfc
1 changed files with 0 additions and 18 deletions
|
@ -106,24 +106,6 @@ pub struct Tag {
|
|||
pub(crate) items: Vec<TagItem>,
|
||||
}
|
||||
|
||||
impl IntoIterator for Tag {
|
||||
type Item = TagItem;
|
||||
type IntoIter = std::vec::IntoIter<Self::Item>;
|
||||
|
||||
fn into_iter(self) -> Self::IntoIter {
|
||||
self.items.into_iter()
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> IntoIterator for &'a Tag {
|
||||
type Item = &'a TagItem;
|
||||
type IntoIter = std::slice::Iter<'a, TagItem>;
|
||||
|
||||
fn into_iter(self) -> Self::IntoIter {
|
||||
self.items.iter()
|
||||
}
|
||||
}
|
||||
|
||||
impl Accessor for Tag {
|
||||
impl_accessor!(
|
||||
TrackArtist => artist,
|
||||
|
|
Loading…
Reference in a new issue