pub enum RiscvBusAccess {
A8,
A16,
A32,
A64,
A128,
}
Expand description
Access width for bus access.
This is used both for system bus access (sbcs
register),
as well for abstract commands.
Variants
A8
1 byte
A16
2 bytes
A32
4 bytes
A64
8 bytes
A128
16 bytes.
Trait Implementations
sourceimpl Clone for RiscvBusAccess
impl Clone for RiscvBusAccess
sourcefn clone(&self) -> RiscvBusAccess
fn clone(&self) -> RiscvBusAccess
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RiscvBusAccess
impl Debug for RiscvBusAccess
sourceimpl From<RiscvBusAccess> for u8
impl From<RiscvBusAccess> for u8
sourcefn from(value: RiscvBusAccess) -> Self
fn from(value: RiscvBusAccess) -> Self
Converts to this type from the input type.
sourceimpl Hash for RiscvBusAccess
impl Hash for RiscvBusAccess
sourceimpl PartialEq<RiscvBusAccess> for RiscvBusAccess
impl PartialEq<RiscvBusAccess> for RiscvBusAccess
sourceimpl PartialOrd<RiscvBusAccess> for RiscvBusAccess
impl PartialOrd<RiscvBusAccess> for RiscvBusAccess
sourcefn partial_cmp(&self, other: &RiscvBusAccess) -> Option<Ordering>
fn partial_cmp(&self, other: &RiscvBusAccess) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for RiscvBusAccess
impl Eq for RiscvBusAccess
impl StructuralEq for RiscvBusAccess
impl StructuralPartialEq for RiscvBusAccess
Auto Trait Implementations
impl RefUnwindSafe for RiscvBusAccess
impl Send for RiscvBusAccess
impl Sync for RiscvBusAccess
impl Unpin for RiscvBusAccess
impl UnwindSafe for RiscvBusAccess
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.