Trait creek_encode_wav::wav_bit_depth::WavBitDepth
source · pub trait WavBitDepth {
type T: Copy + Clone + Default + Send;
// Required methods
fn new(max_block_frames: usize, num_channels: u16) -> Self;
fn format() -> Format;
fn write_to_disk(
&mut self,
data: &[Self::T],
file: &mut File
) -> Result<(), Error>;
}
Required Associated Types§
Required Methods§
fn new(max_block_frames: usize, num_channels: u16) -> Self
fn format() -> Format
fn write_to_disk( &mut self, data: &[Self::T], file: &mut File ) -> Result<(), Error>
Object Safety§
This trait is not object safe.