Type Alias swift_rs::Int16

source ·
pub type Int16 = i16;
Expand description

Swift’s Int16 type

Trait Implementations§

source§

impl<'a> SwiftArg<'a> for Int16

§

type ArgType = i16

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 Int16

source§

unsafe fn retain(&self)

Adds a retain to the value if possible Read more