pub trait CoroutineArgsExt<'db> {
// Required method
fn discr_ty(&self, interner: DbInterner<'db>) -> Ty<'db>;
}Required Methods§
fn discr_ty(&self, interner: DbInterner<'db>) -> Ty<'db>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<'db> CoroutineArgsExt<'db> for CoroutineArgs<DbInterner<'db>>
impl<'db> CoroutineArgsExt<'db> for CoroutineArgs<DbInterner<'db>>
Source§fn discr_ty(&self, interner: DbInterner<'db>) -> Ty<'db>
fn discr_ty(&self, interner: DbInterner<'db>) -> Ty<'db>
The type of the state discriminant used in the coroutine type.