[−][src]Struct rustc_trait_selection::traits::query::MethodAutoderefStepsResult

pub struct MethodAutoderefStepsResult<'tcx> {
    pub steps: Rc<Vec<CandidateStep<'tcx>>>,
    pub opt_bad_ty: Option<Rc<MethodAutoderefBadTy<'tcx>>>,
    pub reached_recursion_limit: bool,
}

Fields

steps: Rc<Vec<CandidateStep<'tcx>>>

The valid autoderef steps that could be find.

opt_bad_ty: Option<Rc<MethodAutoderefBadTy<'tcx>>>

If Some(T), a type autoderef reported an error on.

reached_recursion_limit: bool

If true, steps has been truncated due to reaching the recursion limit.

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for MethodAutoderefStepsResult<'tcx>

impl<'tcx> !Send for MethodAutoderefStepsResult<'tcx>

impl<'tcx> !Sync for MethodAutoderefStepsResult<'tcx>

impl<'tcx> Unpin for MethodAutoderefStepsResult<'tcx>

impl<'tcx> !UnwindSafe for MethodAutoderefStepsResult<'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]