[−][src]Enum inkling::error::variable::VariableErrorKind
Error variant for variable type errors.
Variants
DividedByZero
Divided with or took the remainer from 0.
Fields of DividedByZero
InvalidComparison
Two variables could not be compared to each other like this.
Fields of InvalidComparison
NonAllowedOperation
Tried to operate on the variable with an operation that is not allowed for it.
Fields of NonAllowedOperation
NonMatchingAssignment
A new variable type was attempted to be assigned to the current variable.
Fields of NonMatchingAssignment
other: Variable
Variable that was to be assigned but has non-matching type.
Trait Implementations
impl Clone for VariableErrorKind
[src]
fn clone(&self) -> VariableErrorKind
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for VariableErrorKind
[src]
Auto Trait Implementations
impl Sync for VariableErrorKind
impl Send for VariableErrorKind
impl Unpin for VariableErrorKind
impl RefUnwindSafe for VariableErrorKind
impl UnwindSafe for VariableErrorKind
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,