pub trait LiveComponentRegistry {
    // Required methods
    fn type_id(&self) -> LiveType;
    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: LiveComponentRegistry + 'static>(&self) -> bool

source

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

source

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

Implementors§