//! Implementing `RefEncode` for `NSDecimal`.
use ;
/// We choose in this case to represent `NSDecimal` as an opaque struct
/// (and in the future as an `extern type`) because we don't know much
/// about the internals.
///
/// Therefore we do not implement `Encode`, but when implementing `RefEncode`
/// the type-encoding still has to be correct.
// SAFETY: `&NSDecimal` is a pointer.
unsafe