Struct chandeliers_err::TypeMismatch
source · pub struct TypeMismatch<Source, Left, Right, Msg> {
pub source: Source,
pub left: Left,
pub right: Right,
pub msg: Msg,
}Expand description
Generate an error for incompatible types between a “left” and a “right” values.
Fields§
§source: SourceSpan of the entire error.
left: LeftLeft expression and span.
right: RightRight expression and span.
msg: MsgExtra message.
Trait Implementations§
Auto Trait Implementations§
impl<Source, Left, Right, Msg> RefUnwindSafe for TypeMismatch<Source, Left, Right, Msg>where Left: RefUnwindSafe, Msg: RefUnwindSafe, Right: RefUnwindSafe, Source: RefUnwindSafe,
impl<Source, Left, Right, Msg> Send for TypeMismatch<Source, Left, Right, Msg>where Left: Send, Msg: Send, Right: Send, Source: Send,
impl<Source, Left, Right, Msg> Sync for TypeMismatch<Source, Left, Right, Msg>where Left: Sync, Msg: Sync, Right: Sync, Source: Sync,
impl<Source, Left, Right, Msg> Unpin for TypeMismatch<Source, Left, Right, Msg>where Left: Unpin, Msg: Unpin, Right: Unpin, Source: Unpin,
impl<Source, Left, Right, Msg> UnwindSafe for TypeMismatch<Source, Left, Right, Msg>where Left: UnwindSafe, Msg: UnwindSafe, Right: UnwindSafe, Source: UnwindSafe,
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