[][src]Trait polyhorn_ios::raw::Convert

pub trait Convert<T> {
    fn convert(self) -> T;
}

Implemented by Polyhorn types that can be trivially converted into native Objective-C types.

Required methods

fn convert(self) -> T

This function should perform the conversion to a native Objective-C type.

Loading content...

Implementors

impl Convert<UIScrollViewIndicatorStyle> for ScrollbarColor[src]

impl Convert<PLYCornerRadii> for ByCorner<ByDirection<Dimension<f32>>>[src]

impl Convert<PLYDimension> for Dimension<f32>[src]

impl Convert<PLYPoint> for ByDirection<Dimension<f32>>[src]

impl Convert<CATransform3D> for Transform3D<f32>[src]

impl Convert<UIColor> for Color[src]

impl Convert<UIFont> for Font[src]

impl<T1, T2> Convert<PLYByEdge<T2>> for ByEdge<T1> where
    T1: Convert<T2>, 
[src]

impl<T1, T2> Convert<PLYLayoutAxisX<T2>> for LayoutAxisX<T1> where
    T1: Convert<T2>, 
[src]

impl<T1, T2> Convert<PLYLayoutAxisY<T2>> for LayoutAxisY<T1> where
    T1: Convert<T2>, 
[src]

Loading content...