Skip to main content

run_loop

Function run_loop 

Source
pub fn run_loop<W: WindowBackend>(
    window: &mut W,
    tree: &mut UiTree,
    host: &mut dyn Host,
) -> Result<(), String>
Expand description

跑事件循环直到窗口要求退出(见下面的文档)。