pub struct VorbisComments { /* private fields */ }
Expand description

Vorbis comments

Implementations

Returns the vendor string

Sets the vendor string

Returns the tag’s items in (key, value) pairs

Gets an item by key

NOTE: This is case-sensitive

Inserts an item

If replace_all is true, it will remove all items with the key before insertion

Removes an item by key

NOTE: This is case-sensitive

Inserts a Picture

According to spec, there can only be one picture of type PictureType::Icon and PictureType::OtherIcon. When attempting to insert these types, if another is found it will be removed and returned.

Errors

Removes a certain PictureType

Trait Implementations

Returns the artist Read more

Sets the artist Read more

Removes the artist Read more

Returns the title Read more

Sets the title Read more

Removes the title Read more

Returns the album Read more

Sets the album Read more

Removes the album Read more

Returns the genre Read more

Sets the genre Read more

Removes the genre Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Writes the tag to a path

Errors

Writes the tag to a file

Errors

Dumps the tag to a writer

This does not include a vendor string, and will thus not create a usable file.

Errors

The associated error which can be returned from IO operations

Whether the tag has any items Read more

Remove a tag from a Path Read more

Remove a tag from a File Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.