Struct symphonia_core::audio::SignalSpec
source · pub struct SignalSpec {
pub rate: u32,
pub channels: Channels,
}
Expand description
SignalSpec
describes the characteristics of a Signal.
Fields§
§rate: u32
The signal sampling rate in hertz (Hz).
channels: Channels
The channel assignments of the signal. The order of the channels in the vector is the order in which each channel sample is stored in a frame.
Implementations§
Trait Implementations§
source§impl Clone for SignalSpec
impl Clone for SignalSpec
source§fn clone(&self) -> SignalSpec
fn clone(&self) -> SignalSpec
Returns a copy 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 moresource§impl Debug for SignalSpec
impl Debug for SignalSpec
source§impl PartialEq for SignalSpec
impl PartialEq for SignalSpec
impl Copy for SignalSpec
impl Eq for SignalSpec
impl StructuralPartialEq for SignalSpec
Auto Trait Implementations§
impl Freeze for SignalSpec
impl RefUnwindSafe for SignalSpec
impl Send for SignalSpec
impl Sync for SignalSpec
impl Unpin for SignalSpec
impl UnwindSafe for SignalSpec
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)