pub struct BusRouting {
pub bus: BusId,
pub output: Option<BusId>,
pub sends: Vec<BusSend>,
pub pan: f32,
pub muted: bool,
pub solo: bool,
}Expand description
One named bus’s complete routing/settings. Omitted buses retain one unity post-fader output to master. The master is a sink, configured through its existing gain/pause/effect APIs, and cannot appear as a source here.
Fields§
§bus: BusId§output: Option<BusId>Main post-fader output, or None for a send-only/detector-only bus.
sends: Vec<BusSend>§pan: f32Linear stereo balance, -1..=1. Nonzero requires a stereo mixer.
muted: boolGates this bus’s outgoing audio/keys; does not freeze voices or effect state.
solo: boolSelects audio paths through this bus, including upstream feeds/downstream returns.
Implementations§
Trait Implementations§
Source§impl Clone for BusRouting
impl Clone for BusRouting
Source§fn clone(&self) -> BusRouting
fn clone(&self) -> BusRouting
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 moreSource§impl Debug for BusRouting
impl Debug for BusRouting
Source§impl PartialEq for BusRouting
impl PartialEq for BusRouting
impl StructuralPartialEq for BusRouting
Auto Trait Implementations§
impl Freeze for BusRouting
impl RefUnwindSafe for BusRouting
impl Send for BusRouting
impl Sync for BusRouting
impl Unpin for BusRouting
impl UnsafeUnpin for BusRouting
impl UnwindSafe for BusRouting
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