Type Alias swift_rs::Int

source ·
pub type Int = isize;
Expand description

Swift’s Int type

Trait Implementations§

source§

impl<'a> SwiftArg<'a> for Int

§

type ArgType = isize

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 Int

source§

unsafe fn retain(&self)

Adds a retain to the value if possible Read more