#[non_exhaustive]
pub enum PictureType {
Show 22 variants Other, Icon, OtherIcon, CoverFront, CoverBack, Leaflet, Media, LeadArtist, Artist, Conductor, Band, Composer, Lyricist, RecordingLocation, DuringRecording, DuringPerformance, ScreenCapture, BrightFish, Illustration, BandLogo, PublisherLogo, Undefined(u8),
}
Expand description

The picture type, according to ID3v2 APIC

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

Other

Icon

OtherIcon

CoverFront

CoverBack

Leaflet

Media

LeadArtist

Artist

Conductor

Band

Composer

Lyricist

RecordingLocation

DuringRecording

DuringPerformance

ScreenCapture

BrightFish

Illustration

Undefined(u8)

Implementations

Available on crate features id3v2 or vorbis_comments only.

Get a u8 from a PictureType according to ID3v2 APIC

Available on crate features id3v2 or vorbis_comments only.

Get a PictureType from a u8 according to ID3v2 APIC

Available on crate feature ape only.

Get an APE item key from a PictureType

Available on crate feature ape only.

Get a PictureType from an APE item key

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. 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
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.