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.