pub struct NwaHeader {
pub channels: u16,
pub bits_per_sample: u16,
pub samples_per_sec: u32,
pub pack_mod: i32,
pub zero_mod: i32,
pub unit_cnt: u32,
pub original_size: u32,
pub pack_size: u32,
pub sample_cnt: u32,
pub unit_sample_cnt: u32,
pub last_sample_cnt: u32,
pub last_sample_pack_size: u32,
}Fields§
§channels: u16§bits_per_sample: u16§samples_per_sec: u32§pack_mod: i32§zero_mod: i32§unit_cnt: u32§original_size: u32§pack_size: u32§sample_cnt: u32§unit_sample_cnt: u32§last_sample_cnt: u32§last_sample_pack_size: u32Implementations§
Source§impl NwaHeader
impl NwaHeader
pub fn is_uncompressed(&self) -> bool
pub fn frame_count(&self) -> u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NwaHeader
impl RefUnwindSafe for NwaHeader
impl Send for NwaHeader
impl Sync for NwaHeader
impl Unpin for NwaHeader
impl UnsafeUnpin for NwaHeader
impl UnwindSafe for NwaHeader
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