Struct rsass::sass::Function [−][src]
pub struct Function { /* fields omitted */ }
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
Get a built-in function by name.
Create a new Function
from a rust implementation.
Note: This does not expose the function in any scope, it just creates it.
Create a new Function
from a scss implementation.
The scope is where the function is defined, used to bind any non-parameter names in the body.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Function
impl !UnwindSafe for Function
Blanket Implementations
Mutably borrows from an owned value. Read more