Enum rustc_session::config::TraitSolver
source · pub enum TraitSolver {
Classic,
Next,
NextCoherence,
}
Variants§
Classic
Classic trait solver in rustc_trait_selection::traits::select
Next
Experimental trait solver in rustc_trait_selection::solve
NextCoherence
Use the new trait solver during coherence
Trait Implementations§
source§impl Clone for TraitSolver
impl Clone for TraitSolver
source§fn clone(&self) -> TraitSolver
fn clone(&self) -> TraitSolver
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TraitSolver
impl Debug for TraitSolver
source§impl DepTrackingHash for TraitSolver
impl DepTrackingHash for TraitSolver
fn hash( &self, hasher: &mut DefaultHasher, _: ErrorOutputType, _for_crate_hash: bool )
source§impl Hash for TraitSolver
impl Hash for TraitSolver
source§impl PartialEq<TraitSolver> for TraitSolver
impl PartialEq<TraitSolver> for TraitSolver
source§fn eq(&self, other: &TraitSolver) -> bool
fn eq(&self, other: &TraitSolver) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TraitSolver
impl Eq for TraitSolver
impl StructuralEq for TraitSolver
impl StructuralPartialEq for TraitSolver
Auto Trait Implementations§
impl RefUnwindSafe for TraitSolver
impl Send for TraitSolver
impl Sync for TraitSolver
impl Unpin for TraitSolver
impl UnwindSafe for TraitSolver
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Classic
: 0 bytesNext
: 0 bytesNextCoherence
: 0 bytes