Skip to main content

init

Function init 

Source
pub fn init(cx: &mut App)
Expand description

Initializes every enabled layer. Call it once, before using anything else.

With the component feature (on by default) this is gpui_component::init, which also initializes gpui-base; otherwise it is gpui_base::init.