pub struct ClrBackend {}Expand description
IL Backend implementation
Implementations§
Source§impl ClrBackend
impl ClrBackend
Trait Implementations§
Source§impl Backend for ClrBackend
impl Backend for ClrBackend
Source§fn primary_target(&self) -> CompilationTarget
fn primary_target(&self) -> CompilationTarget
获取此后端支持的主要编译目标
Source§fn match_score(&self, target: &CompilationTarget) -> f32
fn match_score(&self, target: &CompilationTarget) -> f32
计算与给定编译目标的匹配度 (0-100)
0 表示不支持
Source§fn generate(
&self,
program: &GaiaProgram,
_config: &GaiaConfig,
) -> Result<GeneratedFiles>
fn generate( &self, program: &GaiaProgram, _config: &GaiaConfig, ) -> Result<GeneratedFiles>
Compile Gaia program to target platform
Source§impl Default for ClrBackend
impl Default for ClrBackend
Source§fn default() -> ClrBackend
fn default() -> ClrBackend
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClrBackend
impl RefUnwindSafe for ClrBackend
impl Send for ClrBackend
impl Sync for ClrBackend
impl Unpin for ClrBackend
impl UnwindSafe for ClrBackend
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