# TreemapTile

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/treemap_chart_engine/struct-treemaptile/

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

```rust
struct TreemapTile
```

One tile of a laid out series.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/treemap_chart_engine.rs#L79)

## Members

- [`node_index`](#struct_field-node_index)
- [`parent_index`](#struct_field-parent_index)
- [`name`](#struct_field-name)
- [`value`](#struct_field-value)
- [`is_leaf`](#struct_field-is_leaf)
- [`allocated_bounds`](#struct_field-allocated_bounds)
- [`bounds`](#struct_field-bounds)

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

### node_index

```rust
node_index: usize
```

The preorder position of the node in its series, independent of the weight order.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/treemap_chart_engine.rs#L81)

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

### parent_index

```rust
parent_index: Option<usize>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/treemap_chart_engine.rs#L82)

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

### name

```rust
name: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/treemap_chart_engine.rs#L83)

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

### value

```rust
value: f64
```

The resolved weight: the explicit value, or the sum of the children.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/treemap_chart_engine.rs#L85)

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

### is_leaf

```rust
is_leaf: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/treemap_chart_engine.rs#L86)

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

### allocated_bounds

```rust
allocated_bounds: ferroui_base::Rect
```

The squarified rectangle of the node.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/treemap_chart_engine.rs#L88)

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

### bounds

```rust
bounds: ferroui_base::Rect
```

The rectangle inset by the padding, which the tile draws and its children divide.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/treemap_chart_engine.rs#L90)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`

## Availability

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