Struct flac::metadata::Picture
[−]
[src]
pub struct Picture { pub picture_type: PictureType, pub mime_type: String, pub description: String, pub width: u32, pub height: u32, pub depth: u32, pub colors: u32, pub data: Vec<u8>, }
Stores pictures associated with the FLAC file.
More than likely these pictures will be cover art, but you can have more
than one within a file, which are distinguished by PictureType
and it's
mime type string.
Fields
picture_type: PictureType
Picture type, based on the ID3v2 APIC frame.
mime_type: String
Multipurpose Internet Mail Extensions (MIME) type.
description: String
A string describing the picture.
width: u32
Width of the picture in pixels.
height: u32
Height of the picture in pixels.
depth: u32
Color depth of the picture in bits-per-pixel.
colors: u32
Number of colors used.
data: Vec<u8>
Binary picture data.
Trait Implementations
impl Eq for Picture
[src]
impl PartialEq for Picture
[src]
fn eq(&self, __arg_0: &Picture) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Picture) -> bool
This method tests for !=
.