pub enum RISCVVariant {
RV32I,
RV32IMAC,
RV32GC,
RV64I,
RV64IMAC,
RV64GC,
}Expand description
RISC-V variants
Variants§
RV32I
RV32I (32-bit integer)
RV32IMAC
RV32IMAC (32-bit with multiply, atomic, compressed)
RV32GC
RV32GC (32-bit general-purpose with compressed)
RV64I
RV64I (64-bit integer)
RV64IMAC
RV64IMAC (64-bit with multiply, atomic, compressed)
RV64GC
RV64GC (64-bit general-purpose with compressed)
Trait Implementations§
Source§impl Clone for RISCVVariant
impl Clone for RISCVVariant
Source§fn clone(&self) -> RISCVVariant
fn clone(&self) -> RISCVVariant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RISCVVariant
impl Debug for RISCVVariant
Source§impl<'de> Deserialize<'de> for RISCVVariant
impl<'de> Deserialize<'de> for RISCVVariant
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RISCVVariant
impl PartialEq for RISCVVariant
Source§fn eq(&self, other: &RISCVVariant) -> bool
fn eq(&self, other: &RISCVVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RISCVVariant
impl Serialize for RISCVVariant
impl Eq for RISCVVariant
impl StructuralPartialEq for RISCVVariant
Auto Trait Implementations§
impl Freeze for RISCVVariant
impl RefUnwindSafe for RISCVVariant
impl Send for RISCVVariant
impl Sync for RISCVVariant
impl Unpin for RISCVVariant
impl UnsafeUnpin for RISCVVariant
impl UnwindSafe for RISCVVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.