Trait LiveComponentRegistry

Source
pub trait LiveComponentRegistry {
    // Required methods
    fn ref_cast_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>);
}

Required Methods§

Implementations§

Source§

impl dyn LiveComponentRegistry

Source

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

Source

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

Source

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

Implementors§