FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    plan_element_names

    function · ferroui-designer · v0.5.0

    fn plan_element_names(document: &ferroui_designer_core::Document, nodes: &[ferroui_designer_core::NodeId], value: Option<&str>) -> Result<Vec<ferroui_designer_core::Edit>, String>
    

    Plan an atomic name change using the language service's namescope-aware reference grammar. Existing Name/XAML directive aliases, quoting, unrelated strings and comments are retained. None removes names only when doing so cannot leave a known reference unresolved.

    View source

    Availability

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