pub enum TupleLenMismatchContext {
BinaryOp(BinaryOp),
Assignment,
}Expand description
Context for ErrorKind::TupleLenMismatch.
Variants§
BinaryOp(BinaryOp)
An error has occurred when evaluating a binary operation.
Assignment
An error has occurred during assignment.
Trait Implementations§
Source§impl Clone for TupleLenMismatchContext
impl Clone for TupleLenMismatchContext
Source§fn clone(&self) -> TupleLenMismatchContext
fn clone(&self) -> TupleLenMismatchContext
Returns a duplicate 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 moreSource§impl Debug for TupleLenMismatchContext
impl Debug for TupleLenMismatchContext
Source§impl Display for TupleLenMismatchContext
impl Display for TupleLenMismatchContext
Source§impl PartialEq for TupleLenMismatchContext
impl PartialEq for TupleLenMismatchContext
impl Copy for TupleLenMismatchContext
impl Eq for TupleLenMismatchContext
impl StructuralPartialEq for TupleLenMismatchContext
Auto Trait Implementations§
impl Freeze for TupleLenMismatchContext
impl RefUnwindSafe for TupleLenMismatchContext
impl Send for TupleLenMismatchContext
impl Sync for TupleLenMismatchContext
impl Unpin for TupleLenMismatchContext
impl UnwindSafe for TupleLenMismatchContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.