objc2_pdf_kit/generated/
PDFActionResetForm.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7
8use crate::*;
9
10extern_class!(
11 #[unsafe(super(PDFAction, NSObject))]
13 #[derive(Debug, PartialEq, Eq, Hash)]
14 #[cfg(feature = "PDFAction")]
15 pub struct PDFActionResetForm;
16);
17
18#[cfg(feature = "PDFAction")]
19extern_conformance!(
20 unsafe impl NSCopying for PDFActionResetForm {}
21);
22
23#[cfg(feature = "PDFAction")]
24unsafe impl CopyingHelper for PDFActionResetForm {
25 type Result = Self;
26}
27
28#[cfg(feature = "PDFAction")]
29extern_conformance!(
30 unsafe impl NSObjectProtocol for PDFActionResetForm {}
31);
32
33#[cfg(feature = "PDFAction")]
34impl PDFActionResetForm {
35 extern_methods!(
36 #[unsafe(method(init))]
37 #[unsafe(method_family = init)]
38 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
39
40 #[unsafe(method(fields))]
41 #[unsafe(method_family = none)]
42 pub unsafe fn fields(&self) -> Option<Retained<NSArray<NSString>>>;
43
44 #[unsafe(method(setFields:))]
48 #[unsafe(method_family = none)]
49 pub unsafe fn setFields(&self, fields: Option<&NSArray<NSString>>);
50
51 #[unsafe(method(fieldsIncludedAreCleared))]
52 #[unsafe(method_family = none)]
53 pub unsafe fn fieldsIncludedAreCleared(&self) -> bool;
54
55 #[unsafe(method(setFieldsIncludedAreCleared:))]
57 #[unsafe(method_family = none)]
58 pub unsafe fn setFieldsIncludedAreCleared(&self, fields_included_are_cleared: bool);
59 );
60}
61
62#[cfg(feature = "PDFAction")]
64impl PDFActionResetForm {
65 extern_methods!(
66 #[unsafe(method(new))]
67 #[unsafe(method_family = new)]
68 pub unsafe fn new() -> Retained<Self>;
69 );
70}