#[repr(transparent)]pub struct ChannelLayout(pub AVChannelLayout);Tuple Fields§
§0: AVChannelLayout实现§
源代码§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 实现§
源代码§impl Clone for ChannelLayout
impl Clone for ChannelLayout
源代码§fn clone(&self) -> ChannelLayout
fn clone(&self) -> ChannelLayout
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for ChannelLayout
impl Debug for ChannelLayout
源代码§impl From<AVChannelLayout> for ChannelLayout
impl From<AVChannelLayout> for ChannelLayout
源代码§fn from(value: AVChannelLayout) -> Self
fn from(value: AVChannelLayout) -> Self
Converts to this type from the input type.
源代码§impl From<ChannelLayout> for AVChannelLayout
impl From<ChannelLayout> for AVChannelLayout
源代码§fn from(value: ChannelLayout) -> Self
fn from(value: ChannelLayout) -> Self
Converts to this type from the input type.
源代码§impl PartialEq for ChannelLayout
impl PartialEq for ChannelLayout
impl Copy for ChannelLayout
impl Eq for ChannelLayout
自动 trait 实现§
impl Freeze for ChannelLayout
impl RefUnwindSafe for ChannelLayout
impl !Send for ChannelLayout
impl !Sync for ChannelLayout
impl Unpin for ChannelLayout
impl UnsafeUnpin for ChannelLayout
impl UnwindSafe for ChannelLayout
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多