# Layout

`import { Layout } from "destack:reflect";`

Target-specific layout for one type.

```ds title="Layout"
export struct Layout {
    size: usize;
    align: usize;
    stride: usize;
    shape: LayoutShape;
}
```

[language/library/src/reflect/type.ds:13:22](https://github.com/destack-sh/destack/blob/main/language/library/src/reflect/type.ds#L13-L22)

## Members

### `size: usize`

The total size in bytes.

### `align: usize`

The required alignment in bytes.

### `stride: usize`

The stride in bytes.

### `shape: LayoutShape`

The layout shape.
