pub struct RiscvInfo {
pub isa: String,
pub extensions: Vec<ExtensionEntry>,
pub z_extensions: Vec<ExtensionEntry>,
pub vector: VectorInfo,
pub hart_count: usize,
pub hardware_ids: HardwareIds,
pub cache: CacheInfo,
}Expand description
RISC-V specific information only (excludes generic system info)
Fields§
§isa: String§extensions: Vec<ExtensionEntry>§z_extensions: Vec<ExtensionEntry>§vector: VectorInfo§hart_count: usize§hardware_ids: HardwareIds§cache: CacheInfoTrait Implementations§
Auto Trait Implementations§
impl Freeze for RiscvInfo
impl RefUnwindSafe for RiscvInfo
impl Send for RiscvInfo
impl Sync for RiscvInfo
impl Unpin for RiscvInfo
impl UnwindSafe for RiscvInfo
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more