Type Alias swift_rs::Float32

source ·
pub type Float32 = f32;
Expand description

Swift’s Float32 type

Trait Implementations§

source§

impl<'a> SwiftArg<'a> for Float32

§

type ArgType = f32

source§

unsafe fn as_arg(&'a self) -> Self::ArgType

Creates a swift-compatible version of the argument. For primitives this just returns self, but for SwiftObject types it wraps them in SwiftRef. Read more
source§

impl SwiftRet for Float32

source§

unsafe fn retain(&self)

Adds a retain to the value if possible Read more