objc2_ui_kit/generated/
UIInputSuggestion.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9 #[unsafe(super(NSObject))]
13 #[derive(Debug, PartialEq, Eq, Hash)]
14 pub struct UIInputSuggestion;
15);
16
17extern_conformance!(
18 unsafe impl NSObjectProtocol for UIInputSuggestion {}
19);
20
21impl UIInputSuggestion {
22 extern_methods!();
23}
24
25impl UIInputSuggestion {
27 extern_methods!(
28 #[unsafe(method(init))]
29 #[unsafe(method_family = init)]
30 pub fn init(this: Allocated<Self>) -> Retained<Self>;
31
32 #[unsafe(method(new))]
33 #[unsafe(method_family = new)]
34 pub fn new() -> Retained<Self>;
35 );
36}
37
38impl DefaultRetained for UIInputSuggestion {
39 #[inline]
40 fn default_retained() -> Retained<Self> {
41 Self::new()
42 }
43}