Trait objc2_encode::EncodeConvert
source · pub trait EncodeConvert: Sealed { }
Expand description
Represents types that can easily be converted to/from an Encode
type.
This is implemented specially for bool
to allow using that as
Objective-C BOOL
, where it would otherwise not be allowed (since they
are not ABI compatible).
This is mostly an implementation detail, and hence the trait is sealed. Open an issue if you know a use-case where this restrition should be lifted!