pub struct SassFunctionList(/* private fields */);Expand description
A wrapper type that holds a list of SASS functions and their Rust representations so that Rust function lifetimes exceed references to SASS functions held by the libsass C object Sass_Function_List.
Implementations§
Source§impl SassFunctionList
impl SassFunctionList
Sourcepub fn new(sass_functions: Vec<SassFunctionTraitObject>) -> Self
pub fn new(sass_functions: Vec<SassFunctionTraitObject>) -> Self
Create a new list of SASS functions. Called by value as we need to take ownership of the SASS functions to manage their lifetimes.
Trait Implementations§
Source§impl Debug for SassFunctionList
impl Debug for SassFunctionList
Source§impl Default for SassFunctionList
impl Default for SassFunctionList
Auto Trait Implementations§
impl Freeze for SassFunctionList
impl !RefUnwindSafe for SassFunctionList
impl !Send for SassFunctionList
impl !Sync for SassFunctionList
impl Unpin for SassFunctionList
impl !UnwindSafe for SassFunctionList
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