load_winui
function · ferroui-markup-xaml-winui · v0.5.0
fn load_winui(xaml: &str, local_assembly: Option<&'static ferroui_base::metadata::MarkupAssembly>, root_instance: Option<ferroui_base::BoxedValue>, uri: Option<url::Url>, design_mode: bool, options: &crate::WinUIXamlOptions) -> Result<ferroui_base::BoxedValue, ferroui_markup_xaml::XamlLoadError>
Loads an explicitly opted-in WinUI document after the shared migration pass. Unresolved
semantics fail with their original-source diagnostic codes and locations. The normal compiler
then checks real registered types and members; migration never hides a loader error.
Referenced asset documents must be migrated separately by their owning project. Use
migrate_winui_xaml directly to inspect adaptation evidence or to feed the exact same
document into the build-time compiler.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.