icrate/generated/AutomaticAssessmentConfiguration/
AEAssessmentParticipantConfiguration.rs1use crate::common::*;
4use crate::AutomaticAssessmentConfiguration::*;
5use crate::Foundation::*;
6
7extern_class!(
8 #[derive(Debug, PartialEq, Eq, Hash)]
9 #[cfg(feature = "AutomaticAssessmentConfiguration_AEAssessmentParticipantConfiguration")]
10 pub struct AEAssessmentParticipantConfiguration;
11
12 #[cfg(feature = "AutomaticAssessmentConfiguration_AEAssessmentParticipantConfiguration")]
13 unsafe impl ClassType for AEAssessmentParticipantConfiguration {
14 type Super = NSObject;
15 type Mutability = InteriorMutable;
16 }
17);
18
19#[cfg(feature = "AutomaticAssessmentConfiguration_AEAssessmentParticipantConfiguration")]
20unsafe impl NSCopying for AEAssessmentParticipantConfiguration {}
21
22#[cfg(feature = "AutomaticAssessmentConfiguration_AEAssessmentParticipantConfiguration")]
23unsafe impl NSObjectProtocol for AEAssessmentParticipantConfiguration {}
24
25extern_methods!(
26 #[cfg(feature = "AutomaticAssessmentConfiguration_AEAssessmentParticipantConfiguration")]
27 unsafe impl AEAssessmentParticipantConfiguration {
28 #[method(allowsNetworkAccess)]
29 pub unsafe fn allowsNetworkAccess(&self) -> bool;
30
31 #[method(setAllowsNetworkAccess:)]
32 pub unsafe fn setAllowsNetworkAccess(&self, allows_network_access: bool);
33
34 #[method_id(@__retain_semantics Init init)]
35 pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
36
37 #[method_id(@__retain_semantics New new)]
38 pub unsafe fn new() -> Id<Self>;
39 }
40);