pub struct SassCompiler(/* private fields */);
Expand description
A Wrapper around the Sass_Compiler object to make it easier to use correctly.
Implementations§
Source§impl SassCompiler
impl SassCompiler
Sourcepub fn context(&self) -> *mut Sass_Context
pub fn context(&self) -> *mut Sass_Context
Get Sass_Context object.
Sourcepub fn get_options(&self) -> *mut Sass_Options
pub fn get_options(&self) -> *mut Sass_Options
Get Sass_Options object.
Sourcepub fn get_state(&self) -> Sass_Compiler_State
pub fn get_state(&self) -> Sass_Compiler_State
Get compiler state object.
Sourcepub fn iter_imports(&self) -> ImportsSassCompilerIterator ⓘ
pub fn iter_imports(&self) -> ImportsSassCompilerIterator ⓘ
Iterate over imports.
Iterator also provides a specific last_import()
method for convenience.
Sourcepub fn iter_callees(&self) -> CalleesSassCompilerIterator ⓘ
pub fn iter_callees(&self) -> CalleesSassCompilerIterator ⓘ
Iterate over callees.
Iterator also provides a specific last_callee()
method for convenience.
Trait Implementations§
Source§impl Clone for SassCompiler
impl Clone for SassCompiler
Source§fn clone(&self) -> SassCompiler
fn clone(&self) -> SassCompiler
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SassCompiler
impl Debug for SassCompiler
impl Copy for SassCompiler
Auto Trait Implementations§
impl Freeze for SassCompiler
impl RefUnwindSafe for SassCompiler
impl !Send for SassCompiler
impl !Sync for SassCompiler
impl Unpin for SassCompiler
impl UnwindSafe for SassCompiler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more