ModelType
struct · ferroui-build · v0.5.0
struct ModelType
A type of the build-time type system.
Members
key
fn key(self: &Self) -> &str
The identity of the type: its full name with its type arguments.
kind
fn kind(self: &Self) -> ModelTypeKind
origin
fn origin(self: &Self) -> &ModelTypeOrigin
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.
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.
as_type
fn as_type(self: &Self) -> Rc<dyn IXamlType>
This type as a type system handle.
members
fn members(self: &Self) -> Rc<ModelMembers>
The projected members, projecting them on first use.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherIXamlType
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.