Enum rsc::InterpretError
source · pub enum InterpretError<'expr> {
TooFewArgs(&'expr str, usize),
TooManyArgs(&'expr str, usize),
VarDoesNotExist(&'expr str),
VarIsNotFunction(&'expr str),
FunctionNameUsedLikeVar(&'expr str),
}
Variants§
TooFewArgs(&'expr str, usize)
TooManyArgs(&'expr str, usize)
VarDoesNotExist(&'expr str)
VarIsNotFunction(&'expr str)
FunctionNameUsedLikeVar(&'expr str)
Trait Implementations§
source§impl<'expr> Clone for InterpretError<'expr>
impl<'expr> Clone for InterpretError<'expr>
source§fn clone(&self) -> InterpretError<'expr>
fn clone(&self) -> InterpretError<'expr>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'expr> Freeze for InterpretError<'expr>
impl<'expr> RefUnwindSafe for InterpretError<'expr>
impl<'expr> Send for InterpretError<'expr>
impl<'expr> Sync for InterpretError<'expr>
impl<'expr> Unpin for InterpretError<'expr>
impl<'expr> UnwindSafe for InterpretError<'expr>
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