Function repc::compute_layout[][src]

pub fn compute_layout(
    target: Target,
    ty: &Type<()>
) -> Result<Type<TypeLayout>, Error>

Computes the layout of a type.

See the crate documentation for an example.