ConverterType
struct · ferroui-reactiveui · v0.5.0
struct ConverterType
A type as the converters name it (upstream's Type): its TypeId, which is the key the
registries look converters up by, and its name, for messages.
Two values are equal when they name the same type; the name takes no part in the comparison.
Members
of
fn of<T: ?Sized + 'static>() -> Self
The type T (typeof(T)). ConverterType::of::<dyn Any>() is upstream's typeof(object).
id
fn id(self: &Self) -> TypeId
The identifier of the type.
name
fn name(self: &Self) -> &'static str
The name of the type, for messages (Type.Name).
is_type_of
fn is_type_of(self: &Self, value: &dyn Any) -> bool
Whether value is a value of this type: its run-time type is this one (value.GetType() == type).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringCloneCopyPartialEqEqPartialEq<TypeId>HashDebugDisplay
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.