Trait sass_alt::DataOrFileSassContextMutPointer
[−]
[src]
pub trait DataOrFileSassContextMutPointer: Copy { fn delete(self); fn compile(self) -> i32; fn get_context(self) -> *mut Sass_Context; fn get_options(self) -> *mut Sass_Options; }
An extension type for the *mut Sass_Data_Context and *mut Sass_File_Context class to make their methods Object-Orientated and interchangeable.
Required Methods
fn delete(self)
Delete (drop) this object. Guards that this object is not null.
fn compile(self) -> i32
Compile using this context. Error code seems to be returned but libsass documentation is not clear on this.
fn get_context(self) -> *mut Sass_Context
Get Sass_Context object.
fn get_options(self) -> *mut Sass_Options
Get Sass_Options object.