rust_macios/contacts/cn_change_history_event.rs
1use objc::{msg_send, sel, sel_impl};
2
3use crate::{object, objective_c_runtime::{
4 id,
5 macros::{interface_impl},
6 traits::PNSObject,
7}};
8
9object! {
10 ///
11 unsafe pub struct CNChangeHistoryEvent;
12}
13
14#[interface_impl(NSObject)]
15impl CNChangeHistoryEvent {
16 ///
17 #[property]
18 pub fn accept_event_visitor(&self, visitor: id) {
19 unsafe { msg_send![self.m_self(), acceptEventVisitor: visitor] }
20 }
21}