pub struct SassBackend { /* private fields */ }Implementations§
Source§impl SassBackend
impl SassBackend
Trait Implementations§
Source§impl Backend for SassBackend
impl Backend for SassBackend
Source§fn primary_target(&self) -> CompilationTarget
fn primary_target(&self) -> CompilationTarget
Get the primary compilation target supported by this backend.
Source§fn artifact_type(&self) -> ArtifactType
fn artifact_type(&self) -> ArtifactType
Get the type of artifact generated by this backend.
Source§fn match_score(&self, target: &CompilationTarget) -> f32
fn match_score(&self, target: &CompilationTarget) -> f32
Calculate the match score (0-100) for the given compilation target.
A score of 0 indicates that the target is not supported.
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 SassBackend
impl RefUnwindSafe for SassBackend
impl Send for SassBackend
impl Sync for SassBackend
impl Unpin for SassBackend
impl UnsafeUnpin for SassBackend
impl UnwindSafe for SassBackend
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