Trait sass_alt::SassImporter
[−]
[src]
pub trait SassImporter: Debug { fn callback(
&mut self,
path: &CStr,
compiler: SassCompiler
) -> Vec<Sass_Import_Entry>; fn priority(&self) -> f64 { ... } }
A type to model SASS importers.
See make_import_entry
and make_import_error()
on SassCompiler for helpers to create Sass_Import_Entry
Include it by using use ::sass_alt::Sass_Import_Entry_Ext;
.
Required Methods
fn callback(
&mut self,
path: &CStr,
compiler: SassCompiler
) -> Vec<Sass_Import_Entry>
&mut self,
path: &CStr,
compiler: SassCompiler
) -> Vec<Sass_Import_Entry>
The implementation of this SASS importer.
Provided Methods
fn priority(&self) -> f64
The priority of this callback. And, weirdly, it really is a double-precision floating point value.