Struct ComponentInfo

pub struct ComponentInfo { /* private fields */ }

Information about a component definition.

Implementations

impl ComponentInfo

fn name(&self) -> &str

The component name.

fn args(&self) -> &[ComponentArg]

All declared arguments

fn rest_param(&self) -> Option<&str>

The rest parameter name (e.g. rest from ...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

Auto Trait Implementations

impl Freeze for ComponentInfo

impl RefUnwindSafe for ComponentInfo

impl Send for ComponentInfo

impl Sync for ComponentInfo

impl Unpin for ComponentInfo

impl UnsafeUnpin for ComponentInfo

impl UnwindSafe for ComponentInfo

Blanket Implementations

impl<T> Any for ComponentInfo where T: 'static + ?Sized,

impl<T> Borrow<T> for ComponentInfo where T: ?Sized,

impl<T> BorrowMut<T> for ComponentInfo where T: ?Sized,

impl<T> CloneToUninit for ComponentInfo where T: Clone,

impl<T> From<T> for ComponentInfo

impl<T> ToOwned for ComponentInfo where T: Clone,

impl<T, U> Into<U> for ComponentInfo where U: From<T>,

impl<T, U> TryFrom<U> for ComponentInfo where U: Into<T>,

impl<T, U> TryInto<U> for ComponentInfo where U: TryFrom<T>,