Trait objc2_foundation::INSValue[][src]

pub unsafe trait INSValue: INSObject {
    type Value: 'static + Copy + Encode;
    fn get(&self) -> Self::Value { ... }
unsafe fn get_unchecked(&self) -> Self::Value { ... }
fn encoding(&self) -> Option<&str> { ... }
fn new(value: Self::Value) -> Id<Self, Shared> { ... } }

Associated Types

Provided methods

TODO.

Note that this is broken on GNUStep for some types, see gnustep/libs-base#216.

TODO

Safety

The user must ensure that the inner value is properly initialized.

Implementors