Function dusk_ui::window::create

source ·
pub async fn create<'a, D, FT, FTR, FC>(
    dusk: &Dusk,
    interaction: &'a Interaction,
    client: &'a InteractionClient<'a>,
    ephemeral: bool,
    no_defer: bool,
    data: D,
    render_text: FT,
    render_cmp: FC
) -> Result<()>
where FT: Fn(&D) -> FTR + 'static, FTR: Into<Option<String>> + 'static, FC: Fn(&D) -> CompWindow<D>,