[][src]Trait polyhorn_android::Component

pub trait Component: 'static {
    pub fn render(&self, manager: &mut Manager<'_>) -> Element;
}

Platform-specific component trait.

Required methods

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

Render function that must be implemented by components.

Loading content...

Trait Implementations

impl AsRef<dyn Component + 'static> for OpaqueComponent[src]

Implementors

impl Component for Image[src]

impl Component for View<Platform, ViewHandle>[src]

impl Component for Window[src]

Loading content...