FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    replace

    function · ferroui-dynamic-data · v0.5.0

    fn replace<T: Clone + PartialEq>(target: &mut dyn IList<T>, original: &T, replace_with: T)
    

    Replaces original with replace_with (ListEx.Replace).

    Panics

    When original is not in the list (ArgumentException).

    View source

    Availability

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