[−][src]Struct chalk_solve::coherence::CoherenceSolver
Implementations
impl<'db, I> CoherenceSolver<'db, I> where
I: Interner,
[src]
I: Interner,
pub fn new(
db: &'db dyn RustIrDatabase<I>,
solver_choice: SolverChoice,
trait_id: TraitId<I>
) -> Self
[src]
db: &'db dyn RustIrDatabase<I>,
solver_choice: SolverChoice,
trait_id: TraitId<I>
) -> Self
Constructs a new CoherenceSolver
.
pub fn specialization_priorities(
&self
) -> Result<Arc<SpecializationPriorities<I>>, CoherenceError<I>>
[src]
&self
) -> Result<Arc<SpecializationPriorities<I>>, CoherenceError<I>>
Auto Trait Implementations
impl<'db, I> !RefUnwindSafe for CoherenceSolver<'db, I>
impl<'db, I> !Send for CoherenceSolver<'db, I>
impl<'db, I> !Sync for CoherenceSolver<'db, I>
impl<'db, I> Unpin for CoherenceSolver<'db, I> where
<I as Interner>::DefId: Unpin,
<I as Interner>::DefId: Unpin,
impl<'db, I> !UnwindSafe for CoherenceSolver<'db, I>
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Cast for T
[src]
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
[src]
Self: CastTo<U>,
U: HasInterner,
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.
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>,