objc2_browser_engine_kit/generated/
BETextSuggestion.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
12 #[derive(Debug, PartialEq, Eq, Hash)]
13 pub struct BETextSuggestion;
14);
15
16extern_conformance!(
17 unsafe impl NSObjectProtocol for BETextSuggestion {}
18);
19
20impl BETextSuggestion {
21 extern_methods!(
22 #[unsafe(method(initWithInputText:))]
24 #[unsafe(method_family = init)]
25 pub unsafe fn initWithInputText(
26 this: Allocated<Self>,
27 input_text: &NSString,
28 ) -> Retained<Self>;
29
30 #[unsafe(method(inputText))]
32 #[unsafe(method_family = none)]
33 pub unsafe fn inputText(&self) -> Retained<NSString>;
34
35 #[unsafe(method(new))]
36 #[unsafe(method_family = new)]
37 pub unsafe fn new(&self) -> Retained<Self>;
38
39 #[unsafe(method(init))]
40 #[unsafe(method_family = init)]
41 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
42 );
43}
44
45impl BETextSuggestion {
47 extern_methods!(
48 #[unsafe(method(new))]
49 #[unsafe(method_family = new)]
50 pub unsafe fn new_class() -> Retained<Self>;
51 );
52}