[][src]Struct minimp3::Frame

pub struct Frame {
    pub data: Vec<i16>,
    pub sample_rate: i32,
    pub channels: usize,
    pub layer: usize,
    pub bitrate: i32,
}

A MP3 frame, owning the decoded audio of that frame.

Fields

data: Vec<i16>

The decoded audio held by this frame. Channels are interleaved.

sample_rate: i32

This frame's sample rate in hertz.

channels: usize

The number of channels in this frame.

layer: usize

MPEG layer used by this file.

bitrate: i32

Current bitrate as of this frame, in kb/s.

Trait Implementations

impl Clone for Frame[src]

impl Debug for Frame[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.