pub struct AudioResamplerConfig {
pub sample_rate: u32,
pub channels: u16,
pub sample_format: SampleFormat,
}Fields§
§sample_rate: u32§channels: u16§sample_format: SampleFormatTrait Implementations§
Source§impl Clone for AudioResamplerConfig
impl Clone for AudioResamplerConfig
Source§fn clone(&self) -> AudioResamplerConfig
fn clone(&self) -> AudioResamplerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AudioResamplerConfig
impl Debug for AudioResamplerConfig
Source§impl Default for AudioResamplerConfig
impl Default for AudioResamplerConfig
impl Copy for AudioResamplerConfig
Auto Trait Implementations§
impl Freeze for AudioResamplerConfig
impl RefUnwindSafe for AudioResamplerConfig
impl Send for AudioResamplerConfig
impl Sync for AudioResamplerConfig
impl Unpin for AudioResamplerConfig
impl UnsafeUnpin for AudioResamplerConfig
impl UnwindSafe for AudioResamplerConfig
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