pub struct TypeError {
pub kind: TypeErrorKind,
pub location: Span,
pub constraint_reason: ConstraintReason,
}Expand description
Type error information
Fields§
§kind: TypeErrorKind§location: Span§constraint_reason: ConstraintReasonTrait Implementations§
Auto Trait Implementations§
impl Freeze for TypeError
impl RefUnwindSafe for TypeError
impl Send for TypeError
impl Sync for TypeError
impl Unpin for TypeError
impl UnwindSafe for TypeError
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