[−][src]Trait rustc_codegen_ssa::traits::LayoutTypeMethods

pub trait LayoutTypeMethods<'tcx>: Backend<'tcx> {
    pub fn backend_type(&self, layout: TyAndLayout<'tcx>) -> Self::Type;
pub fn cast_backend_type(&self, ty: &CastTarget) -> Self::Type;
pub fn fn_ptr_backend_type(
        &self,
        fn_abi: &FnAbi<'tcx, Ty<'tcx>>
    ) -> Self::Type;
pub fn reg_backend_type(&self, ty: &Reg) -> Self::Type;
pub fn immediate_backend_type(
        &self,
        layout: TyAndLayout<'tcx>
    ) -> Self::Type;
pub fn is_backend_immediate(&self, layout: TyAndLayout<'tcx>) -> bool;
pub fn is_backend_scalar_pair(&self, layout: TyAndLayout<'tcx>) -> bool;
pub fn backend_field_index(
        &self,
        layout: TyAndLayout<'tcx>,
        index: usize
    ) -> u64;
pub fn scalar_pair_element_backend_type(
        &self,
        layout: TyAndLayout<'tcx>,
        index: usize,
        immediate: bool
    ) -> Self::Type; }

Required methods

pub fn backend_type(&self, layout: TyAndLayout<'tcx>) -> Self::Type[src]

pub fn cast_backend_type(&self, ty: &CastTarget) -> Self::Type[src]

pub fn fn_ptr_backend_type(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> Self::Type[src]

pub fn reg_backend_type(&self, ty: &Reg) -> Self::Type[src]

pub fn immediate_backend_type(&self, layout: TyAndLayout<'tcx>) -> Self::Type[src]

pub fn is_backend_immediate(&self, layout: TyAndLayout<'tcx>) -> bool[src]

pub fn is_backend_scalar_pair(&self, layout: TyAndLayout<'tcx>) -> bool[src]

pub fn backend_field_index(
    &self,
    layout: TyAndLayout<'tcx>,
    index: usize
) -> u64
[src]

pub fn scalar_pair_element_backend_type(
    &self,
    layout: TyAndLayout<'tcx>,
    index: usize,
    immediate: bool
) -> Self::Type
[src]

Loading content...

Implementors

Loading content...