Enum rustc_typeck::check::FallbackMode [−][src]
enum FallbackMode {
NoOpaque,
All,
}Expand description
Controls how we perform fallback for unconstrained type variables.
Variants
Expand description
Do not fallback type variables to opaque types.
Expand description
Perform all possible kinds of fallback, including turning type variables to opaque types.
Auto Trait Implementations
impl RefUnwindSafe for FallbackMode
impl Send for FallbackMode
impl Sync for FallbackMode
impl Unpin for FallbackMode
impl UnwindSafe for FallbackMode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,