FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    compare_values

    function · ferroui-xaml-interactivity · v0.5.0

    fn compare_values(left: &ferroui_base::BoxedValue, right: &ferroui_base::BoxedValue) -> Option<std::cmp::Ordering>
    

    Compares two values that are comparable with each other (IComparable.CompareTo): numbers, text, characters, booleans, enumerations and the types with a registered comparer. None when they are not comparable with each other.

    View source

    Availability

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