pub struct BrowserRuntimePlatformServices;Expand description
Registers the runtime platform services of the browser.
Implementations§
Source§impl BrowserRuntimePlatformServices
impl BrowserRuntimePlatformServices
Sourcepub fn use_browser_runtime_platform_subsystem(
builder: &AppBuilder,
) -> AppBuilder
pub fn use_browser_runtime_platform_subsystem( builder: &AppBuilder, ) -> AppBuilder
Selects the runtime platform of the browser for the application.
Sourcepub fn register(assembly: Option<&AssetAssembly>)
pub fn register(assembly: Option<&AssetAssembly>)
Registers the runtime platform and the asset loader with the current
service locator. assembly is the default assembly of the asset
loader.
Auto Trait Implementations§
impl Freeze for BrowserRuntimePlatformServices
impl RefUnwindSafe for BrowserRuntimePlatformServices
impl Send for BrowserRuntimePlatformServices
impl Sync for BrowserRuntimePlatformServices
impl Unpin for BrowserRuntimePlatformServices
impl UnsafeUnpin for BrowserRuntimePlatformServices
impl UnwindSafe for BrowserRuntimePlatformServices
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more