pub enum DataWidth {
Bits8,
Bits16LE,
Bits16BE,
Bits32LE,
Bits32BE,
Bits64LE,
Bits64BE,
}
Expand description
The DataWidth
enum and associated BusAddr
structs define the width
of the data transmitted over a bus.
The `BusAddr::bytes`` function transforms the address into the specified endianness and returns an iterator.
Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for DataWidth
impl RefUnwindSafe for DataWidth
impl Send for DataWidth
impl Sync for DataWidth
impl Unpin for DataWidth
impl UnwindSafe for DataWidth
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