Trait Component

Source
pub trait Component {
    type CType: Copy;

    const NAME: &'static [u8];
}

Required Associated Constants§

Source

const NAME: &'static [u8]

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Component for GraphComponent

Source§

const NAME: &'static [u8] = TM_TT_TYPE__GRAPH_COMPONENT

Source§

type CType = tm_graph_component_t

Source§

impl Component for LightComponent

Source§

const NAME: &'static [u8] = TM_TT_TYPE__LIGHT_COMPONENT

Source§

type CType = tm_light_component_t