Function i_slint_compiler::layout::create_new_prop

source ยท
pub fn create_new_prop(
    elem: &ElementRc,
    tentative_name: &str,
    ty: Type,
) -> NamedReference
Expand description

Create a new property based on the name. (it might get a different name if that property exist)