[][src]Trait polyhorn_ios::Component

pub trait Component: AsAny {
    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 KeyboardAvoidingView[src]

impl Component for TextInput[src]

impl Component for Image[src]

impl Component for Modal[src]

impl Component for Scrollable[src]

impl Component for StatusBar[src]

impl Component for Text[src]

impl Component for Window[src]

impl Component for View[src]

impl<T> Component for ContextProvider<T> where
    T: 'static, 
[src]

Loading content...