pub enum TypeSystem {
Runtime,
Model,
}Expand description
The type system the documents of a build are compiled against (Build::type_system).
Variants§
Runtime
The run-time type system: the types the build script registered in its process. The
script links the crates whose types its documents name, and cannot compile a
document that names a type of the crate it builds. Only with the feature
runtime-host of this crate, which links the XAML runtime library and the
controls; without it a build that compiles documents against this type system
fails with an error that says so.
Model
The build-time type system over the type models (docs/porting/xaml.md, 9.5): the
model of the crate, scanned from its sources, and the models of the crates it
depends on, read from their .xamlmeta. The script links no crate for its types
and compiles the documents of the classes of the crate (XamlGroup::class_document).
Trait Implementations§
Source§impl Clone for TypeSystem
impl Clone for TypeSystem
impl Copy for TypeSystem
Source§impl Debug for TypeSystem
impl Debug for TypeSystem
Source§impl Default for TypeSystem
impl Default for TypeSystem
impl Eq for TypeSystem
Source§impl PartialEq for TypeSystem
impl PartialEq for TypeSystem
impl StructuralPartialEq for TypeSystem
Auto Trait Implementations§
impl Freeze for TypeSystem
impl RefUnwindSafe for TypeSystem
impl Send for TypeSystem
impl Sync for TypeSystem
impl Unpin for TypeSystem
impl UnsafeUnpin for TypeSystem
impl UnwindSafe for TypeSystem
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more