use crate::common::*;
use crate::Foundation::*;
use crate::MetricKit::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "MetricKit_MXCrashDiagnosticObjectiveCExceptionReason")]
pub struct MXCrashDiagnosticObjectiveCExceptionReason;
#[cfg(feature = "MetricKit_MXCrashDiagnosticObjectiveCExceptionReason")]
unsafe impl ClassType for MXCrashDiagnosticObjectiveCExceptionReason {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
#[cfg(feature = "MetricKit_MXCrashDiagnosticObjectiveCExceptionReason")]
unsafe impl NSCoding for MXCrashDiagnosticObjectiveCExceptionReason {}
#[cfg(feature = "MetricKit_MXCrashDiagnosticObjectiveCExceptionReason")]
unsafe impl NSObjectProtocol for MXCrashDiagnosticObjectiveCExceptionReason {}
#[cfg(feature = "MetricKit_MXCrashDiagnosticObjectiveCExceptionReason")]
unsafe impl NSSecureCoding for MXCrashDiagnosticObjectiveCExceptionReason {}
extern_methods!(
#[cfg(feature = "MetricKit_MXCrashDiagnosticObjectiveCExceptionReason")]
unsafe impl MXCrashDiagnosticObjectiveCExceptionReason {
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other composedMessage)]
pub unsafe fn composedMessage(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other formatString)]
pub unsafe fn formatString(&self) -> Id<NSString>;
#[cfg(all(feature = "Foundation_NSArray", feature = "Foundation_NSString"))]
#[method_id(@__retain_semantics Other arguments)]
pub unsafe fn arguments(&self) -> Id<NSArray<NSString>>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other exceptionType)]
pub unsafe fn exceptionType(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other className)]
pub unsafe fn className(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other exceptionName)]
pub unsafe fn exceptionName(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSData")]
#[method_id(@__retain_semantics Other JSONRepresentation)]
pub unsafe fn JSONRepresentation(&self) -> Id<NSData>;
#[cfg(feature = "Foundation_NSDictionary")]
#[method_id(@__retain_semantics Other dictionaryRepresentation)]
pub unsafe fn dictionaryRepresentation(&self) -> Id<NSDictionary>;
}
);
extern_methods!(
#[cfg(feature = "MetricKit_MXCrashDiagnosticObjectiveCExceptionReason")]
unsafe impl MXCrashDiagnosticObjectiveCExceptionReason {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);