pub trait BusManager<A: BusAddress> {
type D;
// Required methods
fn bus(&self) -> &Bus<A, Self::D>;
fn bus_mut(&mut self) -> &mut Bus<A, Self::D>;
}Expand description
Helper trait that can be implemented by types which hold one or more buses.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".