FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    HeatLand

    struct · ferroui-controls-livecharts · v0.5.0

    struct HeatLand
    

    A weighted land of a heat land series (HeatLand): the key of a land of the map, its short name (the ISO 3166-1 alpha-3 code in lower case on the world map), and its value.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<HeatLand>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    with_value

    fn with_value(name: impl Into<String>, value: f64) -> Ref<Self>
    

    A land of the given key and value (HeatLand(name, value)).

    Source

    entity_id

    fn entity_id(self: &Self) -> u64
    

    Source

    snapshot

    fn snapshot(self: &Self) -> ferroui_livecharts::HeatLand
    

    Source

    name

    fn name(self: &Self) -> String
    

    Source

    set_name

    fn set_name(self: &Self, value: String)
    

    Source

    value

    fn value(self: &Self) -> f64
    

    The weight of the land (Value).

    Source

    set_numeric_value

    fn set_numeric_value(self: &Self, value: f64)
    

    Sets Value; named apart from the property system's set_value.

    Source

    name_property

    fn name_property() -> &'static StyledProperty<String>
    

    Source

    value_property

    fn value_property() -> &'static StyledProperty<f64>
    

    Source

    Trait implementations

    Availability

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