Skip to main content

platform_view

Function platform_view 

Source
pub fn platform_view(view_type: impl Into<String>) -> PlatformViewView
Expand description

Reserve layout space for a native platform view created by view_type (the "dev.frust.<Factory>" convention), filling its container by default (see [SlotSize::Expand]). See the module docs for the full builder contract.