pub trait LiveComponentRegistry {
    // Required methods
    fn type_id(&self) -> TypeId;
    fn get_component_info(&self, name: LiveId) -> Option<LiveComponentInfo>;
    fn component_type(&self) -> LiveId;
    fn get_module_set(&self, set: &mut BTreeSet<LiveModuleId, Global>);
}

Required Methods§

Implementations§

§

impl dyn LiveComponentRegistry

pub fn is<T>(&self) -> boolwhere T: LiveComponentRegistry + 'static,

pub fn cast<T>(&self) -> Option<&T>where T: LiveComponentRegistry + 'static,

pub fn cast_mut<T>(&mut self) -> Option<&mut T>where T: LiveComponentRegistry + 'static,

Implementors§