pub enum BusWidth {
Bits8,
Bits16LE,
Bits16BE,
}
Expand description
Bus width used for address width and data width
Variants
Bits8
Bits16LE
Bits16BE
Implementations
sourceimpl BusWidth
impl BusWidth
pub fn width_in_bytes(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for BusWidth
impl Send for BusWidth
impl Sync for BusWidth
impl Unpin for BusWidth
impl UnwindSafe for BusWidth
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more