[−][src]Struct chalk_solve::coherence::CoherenceSolver
Implementations
impl<'a, I> CoherenceSolver<'a, I> where
I: Interner, [src]
I: Interner,
pub fn new(
db: &'a dyn RustIrDatabase<I>,
solver_builder: &'a dyn Fn() -> Box<dyn Solver<I>>,
trait_id: TraitId<I>
) -> Self[src]
db: &'a dyn RustIrDatabase<I>,
solver_builder: &'a dyn Fn() -> Box<dyn Solver<I>>,
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<'a, I> !RefUnwindSafe for CoherenceSolver<'a, I>
impl<'a, I> !Send for CoherenceSolver<'a, I>
impl<'a, I> !Sync for CoherenceSolver<'a, I>
impl<'a, I> Unpin for CoherenceSolver<'a, I> where
<I as Interner>::DefId: Unpin,
<I as Interner>::DefId: Unpin,
impl<'a, I> !UnwindSafe for CoherenceSolver<'a, 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>,