objc2_ui_kit/generated/
UIAccessibilityZoom.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6#[cfg(feature = "objc2-core-foundation")]
7use objc2_core_foundation::*;
8
9use crate::*;
10
11#[repr(transparent)]
14#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
15pub struct UIAccessibilityZoomType(pub NSInteger);
16impl UIAccessibilityZoomType {
17 #[doc(alias = "UIAccessibilityZoomTypeInsertionPoint")]
18 pub const InsertionPoint: Self = Self(0);
19}
20
21unsafe impl Encode for UIAccessibilityZoomType {
22 const ENCODING: Encoding = NSInteger::ENCODING;
23}
24
25unsafe impl RefEncode for UIAccessibilityZoomType {
26 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
27}
28
29extern "C-unwind" {
30 #[cfg(all(
31 feature = "UIResponder",
32 feature = "UIView",
33 feature = "objc2-core-foundation"
34 ))]
35 pub fn UIAccessibilityZoomFocusChanged(
36 r#type: UIAccessibilityZoomType,
37 frame: CGRect,
38 view: &UIView,
39 );
40}
41
42extern "C-unwind" {
43 pub fn UIAccessibilityRegisterGestureConflictWithZoom();
44}