pub trait BoundExistentialPredicates<I: Interner>:
Copy
+ Debug
+ Hash
+ Eq
+ Relate<I>
+ SliceLike<Item = Binder<I, ExistentialPredicate<I>>> {
// Required methods
fn principal_def_id(self) -> Option<I::DefId>;
fn principal(self) -> Option<Binder<I, ExistentialTraitRef<I>>>;
fn auto_traits(self) -> impl IntoIterator<Item = I::DefId>;
fn projection_bounds(
self,
) -> impl IntoIterator<Item = Binder<I, ExistentialProjection<I>>>;
}
Required Methods§
fn principal_def_id(self) -> Option<I::DefId>
fn principal(self) -> Option<Binder<I, ExistentialTraitRef<I>>>
fn auto_traits(self) -> impl IntoIterator<Item = I::DefId>
fn projection_bounds( self, ) -> impl IntoIterator<Item = Binder<I, ExistentialProjection<I>>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.