pub struct ChmapEntry {
pub pos: ChmapPos,
pub phase_inverse: bool,
}Expand description
The entry to express information of each channel in channel map.
Fields§
§pos: ChmapPosThe position of channel.
phase_inverse: boolIf true, phase is inverted (e.g. a microphone channel within multiple channels). It’s
relevant to SNDRV_CHMAP_PHASE_INVERSE macro in UAPI of Linux kernel.
Trait Implementations§
Source§impl Clone for ChmapEntry
impl Clone for ChmapEntry
Source§fn clone(&self) -> ChmapEntry
fn clone(&self) -> ChmapEntry
Returns a duplicate 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 ChmapEntry
impl Debug for ChmapEntry
Source§impl Default for ChmapEntry
impl Default for ChmapEntry
Source§fn default() -> ChmapEntry
fn default() -> ChmapEntry
Returns the “default value” for a type. Read more
Source§impl From<ChmapEntry> for u32
impl From<ChmapEntry> for u32
Source§fn from(entry: ChmapEntry) -> Self
fn from(entry: ChmapEntry) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ChmapEntry
impl From<u32> for ChmapEntry
Source§impl PartialEq for ChmapEntry
impl PartialEq for ChmapEntry
impl Copy for ChmapEntry
impl Eq for ChmapEntry
impl StructuralPartialEq for ChmapEntry
Auto Trait Implementations§
impl Freeze for ChmapEntry
impl RefUnwindSafe for ChmapEntry
impl Send for ChmapEntry
impl Sync for ChmapEntry
impl Unpin for ChmapEntry
impl UnwindSafe for ChmapEntry
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