Trait panoramix::elements::Component[][src]

pub trait Component: Debug + Clone {
    type Props: Clone + Default + Debug + PartialEq + 'static;
    type LocalEvent: 'static;
    type LocalState: Clone + Default + Debug + PartialEq + 'static;
    fn new<ParentCpEvent, ParentCpState>(
        props: Self::Props
    ) -> ComponentHolder<Self, ParentCpEvent, ParentCpState>;
fn name() -> &'static str; }

Associated Types

type Props: Clone + Default + Debug + PartialEq + 'static[src]

type LocalEvent: 'static[src]

type LocalState: Clone + Default + Debug + PartialEq + 'static[src]

Loading content...

Required methods

fn new<ParentCpEvent, ParentCpState>(
    props: Self::Props
) -> ComponentHolder<Self, ParentCpEvent, ParentCpState>
[src]

fn name() -> &'static str[src]

Loading content...

Implementors

Loading content...