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 moreAuto Trait Implementations§
impl RefUnwindSafe for ComponentMetadata
impl Send for ComponentMetadata
impl Sync for ComponentMetadata
impl Unpin for ComponentMetadata
impl UnwindSafe for ComponentMetadata
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