FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ModelType

    struct · ferroui-build · v0.5.0

    struct ModelType
    

    A type of the build-time type system.

    View source

    Members

    key

    fn key(self: &Self) -> &str
    

    The identity of the type: its full name with its type arguments.

    Source

    kind

    fn kind(self: &Self) -> ModelTypeKind
    

    Source

    origin

    fn origin(self: &Self) -> &ModelTypeOrigin
    

    Source

    is_opaque

    fn is_opaque(self: &Self) -> bool
    

    Whether the type is a Rust type no model declares: assignable only to itself and to System.Object, without members.

    Source

    handles

    fn handles(self: &Self) -> Vec<String>
    

    The Rust types that hold values of the type, as canonical text, the untyped (canonical) form first. Empty for types without values and for synthetic types whose values no declaration can name.

    Source

    as_type

    fn as_type(self: &Self) -> Rc<dyn IXamlType>
    

    This type as a type system handle.

    Source

    members

    fn members(self: &Self) -> Rc<ModelMembers>
    

    The projected members, projecting them on first use.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • IXamlType

    Availability

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