Trait capsules_extra::bus::BusAddr
source · pub trait BusAddr {
const DATA_WIDTH: DataWidth;
// Required method
fn bytes(&self) -> impl Iterator<Item = u8>;
// Provided method
fn len(&self) -> usize { ... }
}
Expand description
The BusAddr
trait is implemented for each BusAddr struct.
It provides information about the data width and a way
to access the underlying byte representation.
Required Associated Constants§
const DATA_WIDTH: DataWidth
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.