pub struct ComponentMetadata {
pub names: FxHashSet<String>,
pub scope: String,
pub constructor: Constructor,
pub cast: CastFunction,
}Expand description
Registration information for a Component. Please see ComponentDefinition for information about the meaning of the fields.
Fields§
§names: FxHashSet<String>§scope: String§constructor: Constructor§cast: CastFunctionTrait Implementations§
source§impl Clone for ComponentMetadata
impl Clone for ComponentMetadata
source§fn clone(&self) -> ComponentMetadata
fn clone(&self) -> ComponentMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more