pub trait Target: Sized {
// Provided method
fn target_cpu(&self) -> Option<String> { ... }
}Expand description
A compilation target (e.g. a GPU architecture).
Provided Methods§
Sourcefn target_cpu(&self) -> Option<String>
fn target_cpu(&self) -> Option<String>
The -Ctarget-cpu-style string identifying this target, if applicable.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".