FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    GeoLand

    struct · ferroui-livecharts · v0.5.0

    struct GeoLand
    

    A land as hovered or clicked (GeoTooltipPoint, and the result of FindLandAt): its identity in the scene, its names, the values of the series that have one in the order of the series, the anchor of its tooltip (the middle of its largest visible ring) and its screen bounds, the hover area of its chart point.

    View source

    Members

    id

    id: PointId
    

    The layer (in the order of the map) and the land (in the order of its layer).

    Source

    short_name

    short_name: String
    

    Source

    name

    name: String
    

    Source

    values

    values: Vec<GeoTooltipValue>
    

    Source

    center

    center: ferroui_base::Point
    

    Source

    bounds

    bounds: ferroui_base::Rect
    

    Source

    value

    fn value(self: &Self) -> f64
    

    The value of the first series that has one, or 0 (GeoTooltipPoint.Value).

    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.