pub struct BusInfo {
pub layout: Bus,
pub kind: BusKind,
pub name: String,
pub default_active: bool,
}Expand description
A bus as the plugin declares it, before any is activated.
Fields§
§layout: Bus§kind: BusKind§name: StringThe plugin’s own name for the bus; may be empty.
default_active: boolThe plugin asks for this bus to be active unless the host decides otherwise.
Implementations§
Source§impl BusInfo
impl BusInfo
pub fn configuration(&self, active: bool) -> BusConfiguration
Trait Implementations§
impl Eq for BusInfo
impl StructuralPartialEq for BusInfo
Auto Trait Implementations§
impl Freeze for BusInfo
impl RefUnwindSafe for BusInfo
impl Send for BusInfo
impl Sync for BusInfo
impl Unpin for BusInfo
impl UnsafeUnpin for BusInfo
impl UnwindSafe for BusInfo
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