FrameworkComponent

Trait FrameworkComponent 

Source
pub trait FrameworkComponent:
    Send
    + Sync
    + 'static {
    // Provided methods
    fn type_name(&self) -> &'static str { ... }
    fn type_id(&self) -> TypeId { ... }
}
Expand description

Core trait for framework components that can be registered and managed

Provided Methods§

Source

fn type_name(&self) -> &'static str

Get the type name of this component

Source

fn type_id(&self) -> TypeId

Get the TypeId of this component

Trait Implementations§

Source§

impl Debug for dyn FrameworkComponent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§