ServiceType
struct · ferroui-splat · v0.5.0
struct ServiceType
The type of a service, the key of its registrations (the Type of a registration upstream,
typeof(T) of the generic forms).
It is the TypeId of the service type, which may be unsized (dyn IViewLocator), with the
name of the type for messages. Two values are equal when their types are.
Members
of
fn of<S: ?Sized + 'static>() -> Self
The service type S.
id
fn id(self: &Self) -> TypeId
The identifier of the type.
name
fn name(self: &Self) -> &'static str
The name of the type, as std::any::type_name gives it.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneCopyPartialEqEqHashDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.