pub enum NumberError {
Nan,
Infinity,
}
Expand description
Error type used by NumberChecker
.
Variants§
Trait Implementations§
Source§impl Debug for NumberError
impl Debug for NumberError
Source§impl From<NumberError> for CompileError<'_>
impl From<NumberError> for CompileError<'_>
Source§fn from(error: NumberError) -> Self
fn from(error: NumberError) -> Self
Converts to this type from the input type.
Source§impl<C: CustomTypes<S>, S: System<C>> From<NumberError> for ErrorCause<C, S>
impl<C: CustomTypes<S>, S: System<C>> From<NumberError> for ErrorCause<C, S>
Source§fn from(error: NumberError) -> Self
fn from(error: NumberError) -> Self
Converts to this type from the input type.
Source§impl From<NumberError> for FromAstError<'_>
impl From<NumberError> for FromAstError<'_>
Source§fn from(error: NumberError) -> Self
fn from(error: NumberError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NumberError
impl RefUnwindSafe for NumberError
impl Send for NumberError
impl Sync for NumberError
impl Unpin for NumberError
impl UnwindSafe for NumberError
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