pub struct MslGenerator;Trait Implementations§
Source§impl Backend for MslGenerator
impl Backend for MslGenerator
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: &GaiaModule,
_config: &GaiaConfig,
) -> Result<GeneratedFiles>
fn generate( &self, program: &GaiaModule, _config: &GaiaConfig, ) -> Result<GeneratedFiles>
Compile Gaia program to target platform
Auto Trait Implementations§
impl Freeze for MslGenerator
impl RefUnwindSafe for MslGenerator
impl Send for MslGenerator
impl Sync for MslGenerator
impl Unpin for MslGenerator
impl UnwindSafe for MslGenerator
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