Struct rsass::GlobalScope

source ·
pub struct GlobalScope { /* private fields */ }
Expand description

A Scope that can be created without allready having a scope as a parameter is a GlobalScope.

There can be multiple “global” scopes in the same process, they are global to the handling of a scss document.

Implementations§

Create a new global scope.

Trait Implementations§

Define a variable with a value. Read more
Define a variable in the global scope that is an ultimate parent of this scope. Read more
Get the Value for a variable.
Define multiple names from a value that is a list. Special case: in names is a single name, value is used directly. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.