# LandDefinition

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/geo/struct-landdefinition/

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

```rust
struct LandDefinition
```

A land of a map (`LandDefinition`): a feature of the GeoJSON with its names and rings.

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

## Members

- [`short_name`](#struct_field-short_name)
- [`name`](#struct_field-name)
- [`set_of`](#struct_field-set_of)
- [`max_bounds`](#struct_field-max_bounds)
- [`min_bounds`](#struct_field-min_bounds)
- [`data`](#struct_field-data)
- [`new`](#function-new)

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

### short_name

```rust
short_name: String
```

The key of the land, the `shortName` property in lower case (the name without one).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L62)

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

### name

```rust
name: String
```

The `name` property in lower case, or `feature_<index>` without one.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L64)

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

### set_of

```rust
set_of: String
```

The `setOf` property in lower case, or `?`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L66)

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

### max_bounds

```rust
max_bounds: [f64; 2]
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L67)

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

### min_bounds

```rust
min_bounds: [f64; 2]
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L68)

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

### data

```rust
data: Vec<LandData>
```

The rings of the land, the largest bounds first.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L70)

<a id="function-new"></a>

### new

```rust
fn new(short_name: impl Into<String>, name: impl Into<String>, set_of: impl Into<String>) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L74)

## 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/).
