Trait TyExt
ra_ap_hir_ty
pub trait TyExt { fn is_unit(&self) -> bool; }
fn is_unit(&self) -> bool
impl TyExt for Ty