Struct archspec::schema::Microarchitecture
source · pub struct Microarchitecture {
pub from: Vec<String>,
pub vendor: String,
pub features: Vec<String>,
pub compilers: Option<HashMap<String, CompilerSet>>,
pub generation: Option<usize>,
}Expand description
Defines the attributes and requirements of a microarchitecture.
Fields§
§from: Vec<String>A list of the immediate microarchitectures that this one is considered to be derived from.
vendor: StringHuman-readable vendor name.
features: Vec<String>The CPU features that are required to exist on the system for it to be compatible with this microarchitecture.
compilers: Option<HashMap<String, CompilerSet>>Optional information on how to tell different compilers how to optimize for this microarchitecture.
generation: Option<usize>Generation of the microarchitecture, if relevant.
Trait Implementations§
source§impl Debug for Microarchitecture
impl Debug for Microarchitecture
source§impl<'de> Deserialize<'de> for Microarchitecture
impl<'de> Deserialize<'de> for Microarchitecture
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
Auto Trait Implementations§
impl Freeze for Microarchitecture
impl RefUnwindSafe for Microarchitecture
impl Send for Microarchitecture
impl Sync for Microarchitecture
impl Unpin for Microarchitecture
impl UnwindSafe for Microarchitecture
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