Type Alias swift_rs::UInt16

source ·
pub type UInt16 = u16;
Expand description

Swift’s UInt16 type

Trait Implementations§

source§

impl<'a> SwiftArg<'a> for UInt16

§

type ArgType = u16

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 UInt16

source§

unsafe fn retain(&self)

Adds a retain to the value if possible Read more