[][src]Trait polyhorn_ios_sys::IntoRaw

pub trait IntoRaw {
    type Raw: Raw;
    fn into_raw(self) -> Self::Raw;
}

Represents a type that can be converted to a Rust wrapper of a raw Objective-C type.

Associated Types

type Raw: Raw

The Rust wrapper of a raw Objective-C type that this type can be converted into.

Loading content...

Required methods

fn into_raw(self) -> Self::Raw

Converts this type into a Rust wrapper of an Objective-C type.

Loading content...

Implementations on Foreign Types

impl<T, '_> IntoRaw for &'_ [T] where
    T: Copy + IntoRaw
[src]

type Raw = NSMutableArray

impl IntoRaw for f32[src]

type Raw = NSNumber

impl IntoRaw for f64[src]

type Raw = NSNumber

impl<'_> IntoRaw for &'_ String[src]

type Raw = NSString

Loading content...

Implementors

impl IntoRaw for CATransform3D[src]

type Raw = NSValue

Loading content...