[][src]Trait polyhorn_core::Component

pub trait Component<P: ?Sized>: Clone where
    P: Platform
{ pub fn render(&self, manager: &mut Manager<'_, P>) -> Element<P>; }

Required methods

pub fn render(&self, manager: &mut Manager<'_, P>) -> Element<P>[src]

Loading content...

Implementors

impl<T, P: ?Sized> Component<P> for ContextProvider<T> where
    T: 'static,
    P: Platform
[src]

Loading content...