Locator
struct · ferroui-splat · v0.5.0
struct Locator
The service locator of Splat (Locator): AppLocator, whose resolver initializer
registers the default services of Splat (initialize_splat) on every resolver set
afterwards.
Upstream sets the initializer in the static constructor of the class, the first time it is
used; here the first call of any function of Locator on the thread sets it.
Members
currentcurrent_mutableset_locatorget_locatorregister_resolver_callback_changedsuppress_resolver_callback_changed_notificationsare_resolver_callback_changed_notifications_enabled
current
fn current() -> Rc<dyn IReadonlyDependencyResolver>
Current.
current_mutable
fn current_mutable() -> Rc<dyn IMutableDependencyResolver>
CurrentMutable.
set_locator
fn set_locator(dependency_resolver: Rc<dyn IDependencyResolver>)
SetLocator.
get_locator
fn get_locator() -> Rc<dyn IDependencyResolver>
GetLocator.
register_resolver_callback_changed
fn register_resolver_callback_changed(callback: impl Fn() -> () + 'static) -> Rc<dyn IDisposable>
RegisterResolverCallbackChanged.
suppress_resolver_callback_changed_notifications
fn suppress_resolver_callback_changed_notifications() -> Rc<dyn IDisposable>
SuppressResolverCallbackChangedNotifications.
are_resolver_callback_changed_notifications_enabled
fn are_resolver_callback_changed_notifications_enabled() -> bool
AreResolverCallbackChangedNotificationsEnabled.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>Any
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.