Trait rustc_codegen_ssa::traits::DerivedTypeMethods
source · pub trait DerivedTypeMethods<'tcx>: BaseTypeMethods<'tcx> + MiscMethods<'tcx> {
// Provided methods
fn type_int(&self) -> Self::Type { ... }
fn type_from_integer(&self, i: Integer) -> Self::Type { ... }
fn type_needs_drop(&self, ty: Ty<'tcx>) -> bool { ... }
fn type_is_sized(&self, ty: Ty<'tcx>) -> bool { ... }
fn type_is_freeze(&self, ty: Ty<'tcx>) -> bool { ... }
fn type_has_metadata(&self, ty: Ty<'tcx>) -> bool { ... }
}