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>
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.