pub struct BusLayout {
pub main_input_channels: u32,
pub main_output_channels: u32,
pub aux_input_count: usize,
pub aux_output_count: usize,
}Expand description
Bus layout information for plugins that need channel configuration.
This is used internally to populate the individual setup types
like MainInputChannels, MainOutputChannels, etc.
Fields§
§main_input_channels: u32Number of channels on the main input bus
main_output_channels: u32Number of channels on the main output bus
aux_input_count: usizeNumber of auxiliary input buses
aux_output_count: usizeNumber of auxiliary output buses
Implementations§
Source§impl BusLayout
impl BusLayout
Sourcepub fn from_plugin<P: Descriptor>(plugin: &P) -> Self
pub fn from_plugin<P: Descriptor>(plugin: &P) -> Self
Create a layout from a plugin’s bus configuration.
Trait Implementations§
impl StructuralPartialEq for BusLayout
Auto Trait Implementations§
impl Freeze for BusLayout
impl RefUnwindSafe for BusLayout
impl Send for BusLayout
impl Sync for BusLayout
impl Unpin for BusLayout
impl UnwindSafe for BusLayout
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