pub struct Refusal {
pub part: Type,
pub reason: Reason,
pub path: Vec<Step>,
}Expand description
The first part of a type a judgment refuses, what it is, and the way from the judged type down to it.
Fields§
§part: TypeThe refused part, with the arguments it is reached with substituted.
reason: ReasonWhat it is.
path: Vec<Step>The steps from the judged type down to it.
Trait Implementations§
impl Eq for Refusal
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Forget for Refusal
impl Freeze for Refusal
impl Move for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusal
impl Sync for Refusal
impl Unpin for Refusal
impl UnsafeUnpin for Refusalwhere
*const Type is !null: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Step>: UnsafeUnpin,
impl UnwindSafe for Refusal
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