Type Alias swift_rs::Bool

source ·
pub type Bool = bool;
Expand description

Swift’s Bool type

Trait Implementations§

source§

impl<'a> SwiftArg<'a> for Bool

§

type ArgType = bool

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 Bool

source§

unsafe fn retain(&self)

Adds a retain to the value if possible Read more