# WrapMetrics

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-pretext-layout/struct-wrapmetrics/

**struct** · [`ferroui-pretext-layout`](/docs/0.5.0/api/ferroui-pretext-layout/) · v0.5.0

```rust
struct WrapMetrics
```

Aggregate geometry of wrapped text.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L3)

## Members

- [`line_count`](#struct_field-line_count)
- [`height`](#struct_field-height)
- [`max_line_width`](#struct_field-max_line_width)

<a id="struct_field-line_count"></a>

### line_count

```rust
line_count: usize
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L4)

<a id="struct_field-height"></a>

### height

```rust
height: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L5)

<a id="struct_field-max_line_width"></a>

### max_line_width

```rust
max_line_width: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L6)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
