pub struct CachedBusInfo {
pub channel_count: usize,
pub bus_type: BusType,
}Expand description
Lightweight bus information for caching.
Contains only the data needed for buffer allocation and validation.
This is distinct from BusInfo which contains full metadata (name, etc.)
for host queries.
Fields§
§channel_count: usizeNumber of channels in this bus.
bus_type: BusTypeBus type (main or auxiliary).
Implementations§
Source§impl CachedBusInfo
impl CachedBusInfo
Trait Implementations§
Source§impl Clone for CachedBusInfo
impl Clone for CachedBusInfo
Source§fn clone(&self) -> CachedBusInfo
fn clone(&self) -> CachedBusInfo
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 CachedBusInfo
impl Debug for CachedBusInfo
Source§impl Default for CachedBusInfo
impl Default for CachedBusInfo
Source§fn default() -> CachedBusInfo
fn default() -> CachedBusInfo
Returns the “default value” for a type. Read more
impl Copy for CachedBusInfo
Auto Trait Implementations§
impl Freeze for CachedBusInfo
impl RefUnwindSafe for CachedBusInfo
impl Send for CachedBusInfo
impl Sync for CachedBusInfo
impl Unpin for CachedBusInfo
impl UnwindSafe for CachedBusInfo
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