Enum rsass::ScopeError
source · pub enum ScopeError {
NoModule(String),
UndefinedVariable,
UndefinedFunction,
ModifiedBuiltin,
}
Expand description
Tried to get something that does not exist from a scope.
Variants§
NoModule(String)
Tried to access a module that does not exist.
UndefinedVariable
Tried to access an undefined name.
UndefinedFunction
Undefined function.
ModifiedBuiltin
Cannot modify built-in variable.
Implementations§
Trait Implementations§
source§impl Debug for ScopeError
impl Debug for ScopeError
source§impl Display for ScopeError
impl Display for ScopeError
source§impl From<ScopeError> for ArgsError
impl From<ScopeError> for ArgsError
source§fn from(e: ScopeError) -> ArgsError
fn from(e: ScopeError) -> ArgsError
Converts to this type from the input type.
source§impl From<ScopeError> for CallError
impl From<ScopeError> for CallError
source§fn from(err: ScopeError) -> Self
fn from(err: ScopeError) -> Self
Converts to this type from the input type.
source§impl From<ScopeError> for Error
impl From<ScopeError> for Error
source§fn from(err: ScopeError) -> Error
fn from(err: ScopeError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ScopeError
impl Send for ScopeError
impl Sync for ScopeError
impl Unpin for ScopeError
impl UnwindSafe for ScopeError
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