pub struct FormatEntry {
pub pcm_count: u8,
pub midi_count: u8,
pub labels: Vec<String>,
pub enable_ac3: [bool; 32],
}
Expand description
Entry of stream format.
Fields§
§pcm_count: u8
The number of PCM channels.
midi_count: u8
The number of MIDI channels.
labels: Vec<String>
Labels for the channels.
enable_ac3: [bool; 32]
AC3 capabilities.
Trait Implementations§
Source§impl Clone for FormatEntry
impl Clone for FormatEntry
Source§fn clone(&self) -> FormatEntry
fn clone(&self) -> FormatEntry
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 FormatEntry
impl Debug for FormatEntry
Source§impl Default for FormatEntry
impl Default for FormatEntry
Source§fn default() -> FormatEntry
fn default() -> FormatEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for FormatEntry
impl PartialEq for FormatEntry
impl Eq for FormatEntry
impl StructuralPartialEq for FormatEntry
Auto Trait Implementations§
impl Freeze for FormatEntry
impl RefUnwindSafe for FormatEntry
impl Send for FormatEntry
impl Sync for FormatEntry
impl Unpin for FormatEntry
impl UnwindSafe for FormatEntry
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