Struct ComponentInfo
pub struct ComponentInfo { /* private fields */ }
Information about a component definition.
Implementations
impl ComponentInfo
fn name(&self) -> &strThe component name.
fn args(&self) -> &[ComponentArg]All declared arguments
fn rest_param(&self) -> Option<&str>The rest parameter name (e.g.
restfrom...rest), if any.fn metadata(&self) -> &BTreeMap<String, Value>Component metadata
Trait Implementations
impl Clone for ComponentInfo
fn clone(&self) -> Self
impl Debug for ComponentInfo
fn fmt(&self, f: &mut Formatter<'_>) -> Result