#[repr(C)]pub struct FLAC__FrameHeader {
pub blocksize: c_uint,
pub sample_rate: c_uint,
pub channels: c_uint,
pub channel_assignment: FLAC__ChannelAssignment,
pub bits_per_sample: c_uint,
pub number_type: FLAC__FrameNumberType,
pub number: FLAC__FrameHeader__bindgen_ty_1,
pub crc: FLAC__uint8,
}Expand description
FLAC frame header structure. (c.f. format specification)
Fields§
§blocksize: c_uint§sample_rate: c_uint§channels: c_uint§channel_assignment: FLAC__ChannelAssignment§bits_per_sample: c_uint§number_type: FLAC__FrameNumberType§number: FLAC__FrameHeader__bindgen_ty_1§crc: FLAC__uint8Trait Implementations§
Source§impl Clone for FLAC__FrameHeader
impl Clone for FLAC__FrameHeader
Source§fn clone(&self) -> FLAC__FrameHeader
fn clone(&self) -> FLAC__FrameHeader
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 moreimpl Copy for FLAC__FrameHeader
Auto Trait Implementations§
impl Freeze for FLAC__FrameHeader
impl RefUnwindSafe for FLAC__FrameHeader
impl Send for FLAC__FrameHeader
impl Sync for FLAC__FrameHeader
impl Unpin for FLAC__FrameHeader
impl UnwindSafe for FLAC__FrameHeader
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