pub struct PcmFormat {
pub big_endian: bool,
pub sample_size: u16,
pub float: bool,
}Expand description
The resolved sample format of a PCM sample entry.
See Pcm::format for how it is derived.
Fields§
§big_endian: boolWhether the samples are stored big-endian.
sample_size: u16The size of each sample in bits.
float: boolWhether the samples are floating point (otherwise integer).
Trait Implementations§
impl Copy for PcmFormat
impl Eq for PcmFormat
impl StructuralPartialEq for PcmFormat
Auto Trait Implementations§
impl Freeze for PcmFormat
impl RefUnwindSafe for PcmFormat
impl Send for PcmFormat
impl Sync for PcmFormat
impl Unpin for PcmFormat
impl UnsafeUnpin for PcmFormat
impl UnwindSafe for PcmFormat
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