Struct lofty::ChannelMask
source · pub struct ChannelMask(/* private fields */);
Expand description
Channel mask
A mask of (at least) 18 bits, one for each channel.
- Standard speaker channels: https://www.wikipedia.org/wiki/Surround_sound
- CAF channel bitmap: https://developer.apple.com/library/archive/documentation/MusicAudio/Reference/CAFSpec/CAF_spec/CAF_spec.html#//apple_ref/doc/uid/TP40001862-CH210-BCGBHHHI
- WAV default channel ordering: https://learn.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653308(v=vs.85)?redirectedfrom=MSDN#default-channel-ordering
- FFmpeg: https://ffmpeg.org/doxygen/trunk/group__channel__masks.html
Implementations§
Trait Implementations§
source§impl Clone for ChannelMask
impl Clone for ChannelMask
source§fn clone(&self) -> ChannelMask
fn clone(&self) -> ChannelMask
Returns a copy 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 ChannelMask
impl Debug for ChannelMask
source§impl Default for ChannelMask
impl Default for ChannelMask
source§fn default() -> ChannelMask
fn default() -> ChannelMask
Returns the “default value” for a type. Read more
source§impl PartialEq for ChannelMask
impl PartialEq for ChannelMask
source§fn eq(&self, other: &ChannelMask) -> bool
fn eq(&self, other: &ChannelMask) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChannelMask
impl Eq for ChannelMask
impl StructuralEq for ChannelMask
impl StructuralPartialEq for ChannelMask
Auto Trait Implementations§
impl RefUnwindSafe for ChannelMask
impl Send for ChannelMask
impl Sync for ChannelMask
impl Unpin for ChannelMask
impl UnwindSafe for ChannelMask
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