LandDefinition
struct · ferroui-livecharts · v0.5.0
struct LandDefinition
A land of a map (LandDefinition): a feature of the GeoJSON with its names and rings.
Members
short_name
short_name: String
The key of the land, the shortName property in lower case (the name without one).
name
name: String
The name property in lower case, or feature_<index> without one.
set_of
set_of: String
The setOf property in lower case, or ?.
max_bounds
max_bounds: [f64; 2]
min_bounds
min_bounds: [f64; 2]
data
data: Vec<LandData>
The rings of the land, the largest bounds first.
new
fn new(short_name: impl Into<String>, name: impl Into<String>, set_of: impl Into<String>) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.