pub struct ChannelLayout { /* private fields */ }
Expand description
Channel layout.
Implementations§
Source§impl ChannelLayout
impl ChannelLayout
Sourcepub fn from_channels(channels: u32) -> Option<Self>
pub fn from_channels(channels: u32) -> Option<Self>
Get default channel layout for a given number of channels.
Methods from Deref<Target = ChannelLayoutRef>§
Trait Implementations§
Source§impl AsRef<ChannelLayoutRef> for ChannelLayout
impl AsRef<ChannelLayoutRef> for ChannelLayout
Source§fn as_ref(&self) -> &ChannelLayoutRef
fn as_ref(&self) -> &ChannelLayoutRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<ChannelLayoutRef> for ChannelLayout
impl Borrow<ChannelLayoutRef> for ChannelLayout
Source§fn borrow(&self) -> &ChannelLayoutRef
fn borrow(&self) -> &ChannelLayoutRef
Immutably borrows from an owned value. Read more
Source§impl Clone for ChannelLayout
impl Clone for ChannelLayout
Source§impl Drop for ChannelLayout
impl Drop for ChannelLayout
Source§impl FromStr for ChannelLayout
impl FromStr for ChannelLayout
Source§impl PartialEq<ChannelLayout> for ChannelLayoutRef
impl PartialEq<ChannelLayout> for ChannelLayoutRef
Source§impl PartialEq<ChannelLayoutRef> for ChannelLayout
impl PartialEq<ChannelLayoutRef> for ChannelLayout
Source§impl PartialEq for ChannelLayout
impl PartialEq for ChannelLayout
Source§impl Deref for ChannelLayout
impl Deref for ChannelLayout
impl Send for ChannelLayout
impl Sync for ChannelLayout
Auto Trait Implementations§
impl Freeze for ChannelLayout
impl RefUnwindSafe for ChannelLayout
impl Unpin for ChannelLayout
impl UnwindSafe for ChannelLayout
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