Struct lofty::iff::wav::RIFFInfoList
source · pub struct RIFFInfoList { /* private fields */ }Expand description
A RIFF INFO LIST
Supported file types
Conversions
To Tag
All items will be converted to a TagItem, with all unknown keys being stored with ItemKey::Unknown.
From Tag
When converting a TagItem, two conditions must be met:
- The
TagItemhas a value other thanItemValue::Binary - It has a key that is 4 bytes in length and within the ASCII range
Implementations§
source§impl RIFFInfoList
impl RIFFInfoList
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new empty RIFFInfoList
Examples
use lofty::iff::wav::RIFFInfoList;
use lofty::TagExt;
let riff_info_tag = RIFFInfoList::new();
assert!(riff_info_tag.is_empty());Trait Implementations§
source§impl Accessor for RIFFInfoList
impl Accessor for RIFFInfoList
source§fn set_artist(&mut self, value: String)
fn set_artist(&mut self, value: String)
Sets the artist Read more
source§fn remove_artist(&mut self)
fn remove_artist(&mut self)
Removes the artist Read more
source§fn remove_title(&mut self)
fn remove_title(&mut self)
Removes the title Read more
source§fn remove_album(&mut self)
fn remove_album(&mut self)
Removes the album Read more
source§fn remove_genre(&mut self)
fn remove_genre(&mut self)
Removes the genre Read more
source§fn set_comment(&mut self, value: String)
fn set_comment(&mut self, value: String)
Sets the comment Read more
source§fn remove_comment(&mut self)
fn remove_comment(&mut self)
Removes the comment Read more
source§fn remove_track(&mut self)
fn remove_track(&mut self)
Removes the track Read more
source§fn set_track_total(&mut self, value: u32)
fn set_track_total(&mut self, value: u32)
Sets the track total Read more
source§fn remove_track_total(&mut self)
fn remove_track_total(&mut self)
Removes the track total Read more
source§fn remove_year(&mut self)
fn remove_year(&mut self)
Removes the year Read more
source§fn remove_disk(&mut self)
fn remove_disk(&mut self)
Removes the disk Read more
source§fn set_disk_total(&mut self, _value: u32)
fn set_disk_total(&mut self, _value: u32)
Sets the disk total Read more
source§fn remove_disk_total(&mut self)
fn remove_disk_total(&mut self)
Removes the disk total Read more
source§impl Clone for RIFFInfoList
impl Clone for RIFFInfoList
source§fn clone(&self) -> RIFFInfoList
fn clone(&self) -> RIFFInfoList
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RIFFInfoList
impl Debug for RIFFInfoList
source§impl Default for RIFFInfoList
impl Default for RIFFInfoList
source§fn default() -> RIFFInfoList
fn default() -> RIFFInfoList
Returns the “default value” for a type. Read more
source§impl From<RIFFInfoList> for Tag
impl From<RIFFInfoList> for Tag
source§fn from(input: RIFFInfoList) -> Self
fn from(input: RIFFInfoList) -> Self
Converts to this type from the input type.
source§impl From<Tag> for RIFFInfoList
impl From<Tag> for RIFFInfoList
source§impl<'a> IntoIterator for &'a RIFFInfoList
impl<'a> IntoIterator for &'a RIFFInfoList
source§impl IntoIterator for RIFFInfoList
impl IntoIterator for RIFFInfoList
source§impl PartialEq for RIFFInfoList
impl PartialEq for RIFFInfoList
source§fn eq(&self, other: &RIFFInfoList) -> bool
fn eq(&self, other: &RIFFInfoList) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl SplitTag for RIFFInfoList
impl SplitTag for RIFFInfoList
source§impl TagExt for RIFFInfoList
impl TagExt for RIFFInfoList
§type Err = LoftyError
type Err = LoftyError
The associated error which can be returned from IO operations
source§fn contains<'a>(&'a self, key: Self::RefKey<'a>) -> bool
fn contains<'a>(&'a self, key: Self::RefKey<'a>) -> bool
Whether the tag contains an item with the key Read more
source§fn dump_to<W: Write>(&self, writer: &mut W) -> Result<(), Self::Err>
fn dump_to<W: Write>(&self, writer: &mut W) -> Result<(), Self::Err>
Dump the tag to a writer Read more
impl Eq for RIFFInfoList
impl StructuralEq for RIFFInfoList
impl StructuralPartialEq for RIFFInfoList
Auto Trait Implementations§
impl RefUnwindSafe for RIFFInfoList
impl Send for RIFFInfoList
impl Sync for RIFFInfoList
impl Unpin for RIFFInfoList
impl UnwindSafe for RIFFInfoList
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more