FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    short_name

    short_name: String
    

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

    Source

    name

    name: String
    

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

    Source

    set_of

    set_of: String
    

    The setOf property in lower case, or ?.

    Source

    max_bounds

    max_bounds: [f64; 2]
    

    Source

    min_bounds

    min_bounds: [f64; 2]
    

    Source

    data

    data: Vec<LandData>
    

    The rings of the land, the largest bounds first.

    Source

    new

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

    Source

    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
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.