compute_layout

Function compute_layout 

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

Computes the layout of a type.

See the crate documentation for an example.