Struct sass_alt::SassCompiler
[−]
[src]
pub struct SassCompiler(_);
A Wrapper around the Sass_Compiler object to make it easier to use correctly.
Methods
impl SassCompiler
[src]
fn context(&self) -> *mut Sass_Context
[src]
Get Sass_Context object.
fn get_options(&self) -> *mut Sass_Options
[src]
Get Sass_Options object.
fn get_state(&self) -> Sass_Compiler_State
[src]
Get compiler state object.
fn iter_imports(&self) -> ImportsSassCompilerIterator
[src]
Iterate over imports.
Iterator also provides a specific last_import()
method for convenience.
fn iter_callees(&self) -> CalleesSassCompilerIterator
[src]
Iterate over callees.
Iterator also provides a specific last_callee()
method for convenience.
fn make_import_error<P: AsRef<Path>>(
imp_path: Option<P>,
abs_path: Option<P>,
message: &CStr,
line: usize,
column: usize
) -> Sass_Import_Entry
[src]
imp_path: Option<P>,
abs_path: Option<P>,
message: &CStr,
line: usize,
column: usize
) -> Sass_Import_Entry
Helper implementation to make import entry error
fn make_import_entry<P: AsRef<Path>>(
imp_path: Option<P>,
abs_path: Option<P>,
source: Option<&CStr>,
source_map: Option<&CStr>
) -> Sass_Import_Entry
[src]
imp_path: Option<P>,
abs_path: Option<P>,
source: Option<&CStr>,
source_map: Option<&CStr>
) -> Sass_Import_Entry
Helper implementation to make import entries
Trait Implementations
impl Debug for SassCompiler
[src]
impl Copy for SassCompiler
[src]
impl Clone for SassCompiler
[src]
fn clone(&self) -> SassCompiler
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more