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

Delete (drop) this object. Guards that this object is not null.

Compile using this context. Error code seems to be returned but libsass documentation is not clear on this.

Get Sass_Context object.

Get Sass_Options object.

Implementations on Foreign Types

impl DataOrFileSassContextMutPointer for *mut Sass_Data_Context
[src]

impl DataOrFileSassContextMutPointer for *mut Sass_File_Context
[src]

Implementors