pub struct TargetCodeGenerator {
pub target_arch: String,
pub supported_features: Vec<String>,
pub optimization_strategies: Vec<String>,
pub generation_rules: Vec<CodeGenerationRule>,
}Expand description
Target-specific code generator
Fields§
§target_arch: StringTarget architecture
supported_features: Vec<String>Supported features
optimization_strategies: Vec<String>Optimization strategies
generation_rules: Vec<CodeGenerationRule>Code generation rules
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TargetCodeGenerator
impl RefUnwindSafe for TargetCodeGenerator
impl Send for TargetCodeGenerator
impl Sync for TargetCodeGenerator
impl Unpin for TargetCodeGenerator
impl UnwindSafe for TargetCodeGenerator
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> 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