pub struct Mp3FrameHeader {
pub version: MpegVersion,
pub layer: MpegLayer,
pub bitrate_kbps: u16,
pub sample_rate: u32,
pub padding: bool,
pub channel_mode: ChannelMode,
pub frame_length: usize,
pub samples_per_frame: u16,
}Fields§
§version: MpegVersion§layer: MpegLayer§bitrate_kbps: u16§sample_rate: u32§padding: bool§channel_mode: ChannelMode§frame_length: usize§samples_per_frame: u16Trait Implementations§
Source§impl Clone for Mp3FrameHeader
impl Clone for Mp3FrameHeader
Source§fn clone(&self) -> Mp3FrameHeader
fn clone(&self) -> Mp3FrameHeader
Returns a duplicate of the value. Read more
1.0.0 · 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 Mp3FrameHeader
impl Debug for Mp3FrameHeader
Source§impl PartialEq for Mp3FrameHeader
impl PartialEq for Mp3FrameHeader
impl Copy for Mp3FrameHeader
impl Eq for Mp3FrameHeader
impl StructuralPartialEq for Mp3FrameHeader
Auto Trait Implementations§
impl Freeze for Mp3FrameHeader
impl RefUnwindSafe for Mp3FrameHeader
impl Send for Mp3FrameHeader
impl Sync for Mp3FrameHeader
impl Unpin for Mp3FrameHeader
impl UnwindSafe for Mp3FrameHeader
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