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 Function>
pub fn get_builtin(name: &Name) -> Option<&'static Function>
Get a built-in function by name.
Trait Implementations§
source§impl PartialEq for Function
impl PartialEq for Function
source§impl PartialOrd for Function
impl PartialOrd for Function
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Function
impl StructuralEq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
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