Struct chalk_solve::rust_ir::DefaultImplDatumBound
source · 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§
source§impl<I: Clone + Interner> Clone for DefaultImplDatumBound<I>
impl<I: Clone + Interner> Clone for DefaultImplDatumBound<I>
source§fn clone(&self) -> DefaultImplDatumBound<I>
fn clone(&self) -> DefaultImplDatumBound<I>
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<I: Interner> HasInterner for DefaultImplDatumBound<I>
impl<I: Interner> HasInterner for DefaultImplDatumBound<I>
source§impl<I: PartialEq + Interner> PartialEq for DefaultImplDatumBound<I>
impl<I: PartialEq + Interner> PartialEq for DefaultImplDatumBound<I>
source§fn eq(&self, other: &DefaultImplDatumBound<I>) -> bool
fn eq(&self, other: &DefaultImplDatumBound<I>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<I: Eq + Interner> Eq for DefaultImplDatumBound<I>
impl<I: Interner> StructuralPartialEq for DefaultImplDatumBound<I>
Auto Trait Implementations§
impl<I> Freeze for DefaultImplDatumBound<I>
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§
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
source§impl<T> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.