pub struct Function { /* private fields */ }
Expand description
A function that can be called from a sass value.
The function can be either “builtin” (implemented in rust) or “user defined” (implemented in scss).
Implementations§
Source§impl Function
impl Function
Sourcepub fn get_builtin(name: &Name) -> Option<&'static Self>
pub fn get_builtin(name: &Name) -> Option<&'static Self>
Get a built-in function by name.
Trait Implementations§
Source§impl PartialOrd for Function
impl PartialOrd for Function
impl Eq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Freeze for Function
impl !RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl !UnwindSafe for Function
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