#[repr(transparent)]pub struct ChannelLayout(pub AVChannelLayout);Tuple Fields§
§0: AVChannelLayoutImplementations§
Source§impl ChannelLayout
impl ChannelLayout
pub const MONO: ChannelLayout
pub const STEREO: ChannelLayout
pub const _2POINT1: ChannelLayout
pub const _2_1: ChannelLayout
pub const SURROUND: ChannelLayout
pub const _3POINT1: ChannelLayout
pub const _4POINT0: ChannelLayout
pub const _4POINT1: ChannelLayout
pub const _2_2: ChannelLayout
pub const QUAD: ChannelLayout
pub const _5POINT0: ChannelLayout
pub const _5POINT1: ChannelLayout
pub const _5POINT0_BACK: ChannelLayout
pub const _5POINT1_BACK: ChannelLayout
pub const _6POINT0: ChannelLayout
pub const _6POINT0_FRONT: ChannelLayout
pub const _3POINT1POINT2: ChannelLayout
pub const HEXAGONAL: ChannelLayout
pub const _6POINT1: ChannelLayout
pub const _6POINT1_BACK: ChannelLayout
pub const _6POINT1_FRONT: ChannelLayout
pub const _7POINT0: ChannelLayout
pub const _7POINT0_FRONT: ChannelLayout
pub const _7POINT1: ChannelLayout
pub const _7POINT1_WIDE: ChannelLayout
pub const _7POINT1_WIDE_BACK: ChannelLayout
pub const _5POINT1POINT2_BACK: ChannelLayout
pub const OCTAGONAL: ChannelLayout
pub const CUBE: ChannelLayout
pub const _5POINT1POINT4_BACK: ChannelLayout
pub const _7POINT1POINT2: ChannelLayout
pub const _7POINT1POINT4_BACK: ChannelLayout
pub const _7POINT2POINT3: ChannelLayout
pub const _9POINT1POINT4_BACK: ChannelLayout
pub const HEXADECAGONAL: ChannelLayout
pub const STEREO_DOWNMIX: ChannelLayout
pub const _22POINT2: ChannelLayout
pub const _7POINT1_TOP_BACK: ChannelLayout
pub fn channels(&self) -> i32
pub fn bits(&self) -> u64
pub fn default(number: i32) -> ChannelLayout
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for ChannelLayout
impl Clone for ChannelLayout
Source§fn clone(&self) -> ChannelLayout
fn clone(&self) -> ChannelLayout
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 moreimpl Copy for ChannelLayout
Source§impl Debug for ChannelLayout
impl Debug for ChannelLayout
impl Eq for ChannelLayout
Source§impl From<AVChannelLayout> for ChannelLayout
impl From<AVChannelLayout> for ChannelLayout
Source§fn from(value: AVChannelLayout) -> Self
fn from(value: AVChannelLayout) -> Self
Converts to this type from the input type.
Source§impl From<ChannelLayout> for AVChannelLayout
impl From<ChannelLayout> for AVChannelLayout
Source§fn from(value: ChannelLayout) -> Self
fn from(value: ChannelLayout) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Send for ChannelLayout
impl !Sync for ChannelLayout
impl Freeze for ChannelLayout
impl RefUnwindSafe for ChannelLayout
impl Unpin for ChannelLayout
impl UnsafeUnpin 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