[][src]Trait polyhorn_ios::raw::Container

pub trait Container: AsAny + 'static {
    fn mount(&mut self, child: &mut OpaqueContainer);
fn unmount(&mut self); fn to_view(&self) -> Option<PLYView> { ... }
fn to_view_controller(&self) -> Option<PLYViewController> { ... }
fn to_window(&self) -> Option<PLYWindow> { ... } }

Concrete implementation of a iOS-specific container.

Required methods

fn mount(&mut self, child: &mut OpaqueContainer)

This function should mount the given child container onto this container.

fn unmount(&mut self)

This function should unmount this container from its parent container.

Loading content...

Provided methods

fn to_view(&self) -> Option<PLYView>

This optional function upcasts the native representation of this container to a UIView.

fn to_view_controller(&self) -> Option<PLYViewController>

This optional function upcasts the native representation of this container to a UIViewController.

fn to_window(&self) -> Option<PLYWindow>

This optional function upcasts the native representation of this container to a UIWindow.

Loading content...

Implementations on Foreign Types

impl Container for PLYImageView[src]

impl Container for PLYKeyboardAvoidingView[src]

impl Container for PLYViewController[src]

impl Container for PLYScrollView[src]

impl Container for PLYLabel[src]

impl Container for PLYTextInputView[src]

impl Container for PLYView[src]

impl Container for PLYWindow[src]

impl Container for UIApplication[src]

Loading content...

Implementors

Loading content...