#[non_exhaustive]pub struct AudioBusConfig {
pub id: u64,
pub layout: Layout,
pub active: bool,
}Expand description
Requested layout and activation for one native audio bus.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: u64Native bus ID, scoped to its direction; not a position in the returned list.
layout: LayoutRequested channel layout; an active bus cannot use Layout::None.
active: boolWhether to activate this bus for processing.
Implementations§
Trait Implementations§
Source§impl Clone for AudioBusConfig
impl Clone for AudioBusConfig
Source§fn clone(&self) -> AudioBusConfig
fn clone(&self) -> AudioBusConfig
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 AudioBusConfig
Source§impl Debug for AudioBusConfig
impl Debug for AudioBusConfig
impl Eq for AudioBusConfig
Source§impl PartialEq for AudioBusConfig
impl PartialEq for AudioBusConfig
impl StructuralPartialEq for AudioBusConfig
Auto Trait Implementations§
impl Forget for AudioBusConfig
impl Freeze for AudioBusConfig
impl Move for AudioBusConfig
impl RefUnwindSafe for AudioBusConfig
impl Send for AudioBusConfig
impl Sync for AudioBusConfig
impl Unpin for AudioBusConfig
impl UnsafeUnpin for AudioBusConfig
impl UnwindSafe for AudioBusConfig
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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