Struct chalk_solve::rust_ir::DefaultImplDatumBound [−][src]
pub struct DefaultImplDatumBound<I: Interner> {
pub trait_ref: TraitRef<I>,
pub accessible_tys: Vec<Ty<I>>,
}
Fields
trait_ref: TraitRef<I>
accessible_tys: Vec<Ty<I>>
Trait Implementations
type Interner = I
type Interner = I
The interner associated with the type.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<I> RefUnwindSafe for DefaultImplDatumBound<I> where
<I as Interner>::DefId: RefUnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
<I as Interner>::InternedType: RefUnwindSafe,
impl<I> Send for DefaultImplDatumBound<I> where
<I as Interner>::DefId: Send,
<I as Interner>::InternedSubstitution: Send,
<I as Interner>::InternedType: Send,
impl<I> Sync for DefaultImplDatumBound<I> where
<I as Interner>::DefId: Sync,
<I as Interner>::InternedSubstitution: Sync,
<I as Interner>::InternedType: Sync,
impl<I> Unpin for DefaultImplDatumBound<I> where
<I as Interner>::DefId: Unpin,
<I as Interner>::InternedSubstitution: Unpin,
<I as Interner>::InternedType: Unpin,
impl<I> UnwindSafe for DefaultImplDatumBound<I> where
<I as Interner>::DefId: UnwindSafe,
<I as Interner>::InternedSubstitution: UnwindSafe,
<I as Interner>::InternedType: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more