Trait sass_alt::Sass_Compiler_Ext
[−]
[src]
pub trait Sass_Compiler_Ext { fn get_context(self) -> *mut Sass_Context; fn get_options(self) -> *mut Sass_Options; fn get_state(self) -> Sass_Compiler_State; fn get_import_length(self) -> usize; fn get_import(self, index: usize) -> Sass_Import_Entry; fn get_import_last(self) -> Sass_Import_Entry; fn get_callee_length(self) -> usize; fn get_callee(self, index: usize) -> Sass_Callee_Entry; fn get_callee_last(self) -> Sass_Callee_Entry; }
An extension type for the *mut Sass_Compiler class to make its methods Object-Orientated.
Required Methods
fn get_context(self) -> *mut Sass_Context
Get Sass_Context object.
fn get_options(self) -> *mut Sass_Options
Get Sass_Options object.
fn get_state(self) -> Sass_Compiler_State
Get compiler state object.
fn get_import_length(self) -> usize
Get number of imports.
fn get_import(self, index: usize) -> Sass_Import_Entry
Get Sass_Import_Entry object (can be null if equal to or greater than get_import_length()
).
fn get_import_last(self) -> Sass_Import_Entry
Get Sass_Import_Entry object (can be null if get_import_length()
is zero).
fn get_callee_length(self) -> usize
Get number of callees.
fn get_callee(self, index: usize) -> Sass_Callee_Entry
Get Sass_Import_Entry object (can be null if equal to or greater than get_callee_length()
).
fn get_callee_last(self) -> Sass_Callee_Entry
Get Sass_Import_Entry object (can be null if get_callee_length()
is zero).
Implementations on Foreign Types
impl Sass_Compiler_Ext for *mut Sass_Compiler
[src]
fn get_context(self) -> *mut Sass_Context
[src]
fn get_options(self) -> *mut Sass_Options
[src]
fn get_state(self) -> Sass_Compiler_State
[src]
Compiler state object.