FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    of

    fn of<T: ?Sized + 'static>() -> Self
    

    The type T (typeof(T)). ConverterType::of::<dyn Any>() is upstream's typeof(object).

    Source

    id

    fn id(self: &Self) -> TypeId
    

    The identifier of the type.

    Source

    name

    fn name(self: &Self) -> &'static str
    

    The name of the type, for messages (Type.Name).

    Source

    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).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ToString
    • Clone
    • Copy
    • PartialEq
    • Eq
    • PartialEq<TypeId>
    • Hash
    • Debug
    • Display

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.