[][src]Trait rustc_ap_rustc_target::abi::LayoutOf

pub trait LayoutOf {
    type Ty;
    type TyLayout;
    fn layout_of(&self, ty: Self::Ty) -> Self::TyLayout;

    fn spanned_layout_of(&self, ty: Self::Ty, _span: Span) -> Self::TyLayout { ... }
}

Associated Types

type Ty

type TyLayout

Loading content...

Required methods

fn layout_of(&self, ty: Self::Ty) -> Self::TyLayout

Loading content...

Provided methods

fn spanned_layout_of(&self, ty: Self::Ty, _span: Span) -> Self::TyLayout

Loading content...

Implementors

Loading content...