pub trait ElementInitializer {
// Required method
fn to_initializers(self) -> Vec<Expression>;
}Expand description
Supported types for initializing an element component.
Required Methods§
Sourcefn to_initializers(self) -> Vec<Expression>
fn to_initializers(self) -> Vec<Expression>
Maps this struct to a vector of expressions.