Skip to main content

PRIMITIVES

Constant PRIMITIVES 

Source
pub const PRIMITIVES: &[&str];
Expand description

Every primitive of the language a view may send: the layouts, controls and blocks the host builds itself, and part, a component’s named part. A primitive’s props are the language’s arguments, which the host reads by name, each as the type it takes, ignoring what it does not read; so what is checked of them is that the primitive is one the host builds and that every value is bounded.