Enum rustc_trait_selection::traits::TraitQueryMode [−][src]
The mode that trait queries run in.
Variants
Standard/un-canonicalized queries get accurate spans etc. passed in and hence can do reasonable error reporting on their own.
Canonicalized queries get dummy spans and hence must generally propagate errors to pre-canonicalization callsites.
Trait Implementations
impl Clone for TraitQueryMode[src]
fn clone(&self) -> TraitQueryMode[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for TraitQueryMode[src]
impl Debug for TraitQueryMode[src]
impl Eq for TraitQueryMode[src]
impl PartialEq<TraitQueryMode> for TraitQueryMode[src]
fn eq(&self, other: &TraitQueryMode) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for TraitQueryMode[src]
impl StructuralPartialEq for TraitQueryMode[src]
Auto Trait Implementations
impl RefUnwindSafe for TraitQueryMode
impl Send for TraitQueryMode
impl Sync for TraitQueryMode
impl Unpin for TraitQueryMode
impl UnwindSafe for TraitQueryMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
T: Copy, [src]
T: Copy,
pub fn allocate_on(self, arena: &'a Arena<'tcx>) -> &'a mut T[src]
pub fn allocate_from_iter(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T][src]
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T]
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<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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.