Trait objc2_encode::Encode[][src]

pub unsafe trait Encode {
    const ENCODING: Encoding<'static>;
}
Expand description

Types that have an Objective-C type-encoding.

Safety

Objective-C will make assumptions about the type (like its size and alignment) from its encoding, so the implementer must verify that the encoding is accurate.

Associated Constants

The Objective-C type-encoding for this type.

Implementations on Foreign Types

Implementors