[−][src]Struct rustc_infer::traits::query::CandidateStep
Fields
self_ty: Canonical<'tcx, QueryResponse<'tcx, &'tcx TyS<'tcx>>>autoderefs: usizefrom_unsafe_deref: booltrue if the type results from a dereference of a raw pointer.
when assembling candidates, we include these steps, but not when
picking methods. This so that if we have foo: *const Foo and Foo has methods
fn by_raw_ptr(self: *const Self) and fn by_ref(&self), then
foo.by_raw_ptr() will work and foo.by_ref() won't.
unsize: boolAuto Trait Implementations
impl<'tcx> !RefUnwindSafe for CandidateStep<'tcx>
impl<'tcx> !Send for CandidateStep<'tcx>
impl<'tcx> !Sync for CandidateStep<'tcx>
impl<'tcx> Unpin for CandidateStep<'tcx>
impl<'tcx> !UnwindSafe for CandidateStep<'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.