Type Definition objc_sys::BOOL

source · []
pub type BOOL = bool;
Expand description

The Objective-C BOOL type.

The type of this varies across platforms, so to convert an it into a Rust bool, compare it with NO.

Note that this does not implement objc2::Encode on all platforms! You should only use this on FFI boundaries, otherwise prefer objc2::runtime::Bool.

See also the corresponding documentation entry.