pub struct ComponentInfo { /* private fields */ }Expand description
Information about a component definition.
Implementations§
Source§impl ComponentInfo
impl ComponentInfo
Sourcepub fn args(&self) -> HashMap<&str, &ComponentArg>
pub fn args(&self) -> HashMap<&str, &ComponentArg>
All declared arguments
Sourcepub fn rest_param(&self) -> Option<&str>
pub fn rest_param(&self) -> Option<&str>
The rest parameter name (e.g. rest from ...rest), if any.
Trait Implementations§
Source§impl Clone for ComponentInfo
impl Clone for ComponentInfo
Source§fn clone(&self) -> ComponentInfo
fn clone(&self) -> ComponentInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more