Skip to main content

surface_in_root

Function surface_in_root 

Source
pub fn surface_in_root<A: ResourceApp, S: 'static>(
    widget: &mut dyn Widget,
) -> Option<&mut S>
Expand description

The custom surface of type S that A’s view hosts, when widget is A’s root as a host mounted it: a tab of A in a shell, found in the host’s own widget map.