pub struct EmbeddedPicture {
pub mime: String,
pub picture_type: PictureType,
pub description: String,
pub width: u32,
pub height: u32,
pub data: Vec<u8>,
}Expand description
An embedded picture extracted from a backing file at scan time (a FLAC PICTURE block or an MP3 APIC frame), before it is content-addressed and stored.
Fields§
§mime: String§picture_type: PictureType§description: String§width: u32§height: u32§data: Vec<u8>Trait Implementations§
Source§impl Clone for EmbeddedPicture
impl Clone for EmbeddedPicture
Source§fn clone(&self) -> EmbeddedPicture
fn clone(&self) -> EmbeddedPicture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmbeddedPicture
impl Debug for EmbeddedPicture
impl Eq for EmbeddedPicture
Source§impl PartialEq for EmbeddedPicture
impl PartialEq for EmbeddedPicture
Source§fn eq(&self, other: &EmbeddedPicture) -> bool
fn eq(&self, other: &EmbeddedPicture) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EmbeddedPicture
Auto Trait Implementations§
impl Freeze for EmbeddedPicture
impl RefUnwindSafe for EmbeddedPicture
impl Send for EmbeddedPicture
impl Sync for EmbeddedPicture
impl Unpin for EmbeddedPicture
impl UnsafeUnpin for EmbeddedPicture
impl UnwindSafe for EmbeddedPicture
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