[−][src]Struct audir::FrameDesc
Frame description.
Consists of a channel mask and a sample description. A frame is composed of one samples per channel.
Fields
format: Format
Sample Format.
sample_rate: usize
Sample Rate.
channels: ChannelMask
Channel Mask.
Implementations
impl FrameDesc
[src]
pub fn num_channels(&self) -> usize
[src]
Number of channels for the channel mask.
pub fn sample_desc(&self) -> SampleDesc
[src]
Sample descriptor.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FrameDesc
impl Send for FrameDesc
impl Sync for FrameDesc
impl Unpin for FrameDesc
impl UnwindSafe for FrameDesc
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,