objc2_tv_ui_kit/generated/
TVCollectionViewFullScreenCell.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6#[cfg(feature = "objc2-core-foundation")]
7use objc2_core_foundation::*;
8use objc2_foundation::*;
9#[cfg(feature = "objc2-quartz-core")]
10use objc2_quartz_core::*;
11use objc2_ui_kit::*;
12
13use crate::*;
14
15extern_class!(
16 #[unsafe(super(
18 UICollectionViewCell,
19 UICollectionReusableView,
20 UIView,
21 UIResponder,
22 NSObject
23 ))]
24 #[derive(Debug, PartialEq, Eq, Hash)]
25 pub struct TVCollectionViewFullScreenCell;
26);
27
28#[cfg(feature = "objc2-quartz-core")]
29extern_conformance!(
30 unsafe impl CALayerDelegate for TVCollectionViewFullScreenCell {}
31);
32
33extern_conformance!(
34 unsafe impl NSCoding for TVCollectionViewFullScreenCell {}
35);
36
37extern_conformance!(
38 unsafe impl NSObjectProtocol for TVCollectionViewFullScreenCell {}
39);
40
41extern_conformance!(
42 unsafe impl UIAppearance for TVCollectionViewFullScreenCell {}
43);
44
45extern_conformance!(
46 unsafe impl UIAppearanceContainer for TVCollectionViewFullScreenCell {}
47);
48
49extern_conformance!(
50 unsafe impl UICoordinateSpace for TVCollectionViewFullScreenCell {}
51);
52
53extern_conformance!(
54 unsafe impl UIDynamicItem for TVCollectionViewFullScreenCell {}
55);
56
57extern_conformance!(
58 unsafe impl UIFocusEnvironment for TVCollectionViewFullScreenCell {}
59);
60
61extern_conformance!(
62 unsafe impl UIFocusItem for TVCollectionViewFullScreenCell {}
63);
64
65extern_conformance!(
66 unsafe impl UIFocusItemContainer for TVCollectionViewFullScreenCell {}
67);
68
69extern_conformance!(
70 unsafe impl UIResponderStandardEditActions for TVCollectionViewFullScreenCell {}
71);
72
73extern_conformance!(
74 unsafe impl UITraitEnvironment for TVCollectionViewFullScreenCell {}
75);
76
77impl TVCollectionViewFullScreenCell {
78 extern_methods!(
79 #[cfg(feature = "objc2-core-foundation")]
80 #[unsafe(method(cornerRadius))]
81 #[unsafe(method_family = none)]
82 pub unsafe fn cornerRadius(&self) -> CGFloat;
83
84 #[unsafe(method(contentBleed))]
85 #[unsafe(method_family = none)]
86 pub unsafe fn contentBleed(&self) -> UIEdgeInsets;
87
88 #[cfg(feature = "objc2-core-foundation")]
89 #[unsafe(method(parallaxOffset))]
90 #[unsafe(method_family = none)]
91 pub unsafe fn parallaxOffset(&self) -> CGFloat;
92
93 #[cfg(feature = "objc2-core-foundation")]
94 #[unsafe(method(normalizedPosition))]
95 #[unsafe(method_family = none)]
96 pub unsafe fn normalizedPosition(&self) -> CGFloat;
97
98 #[cfg(feature = "objc2-core-foundation")]
99 #[unsafe(method(maskAmount))]
100 #[unsafe(method_family = none)]
101 pub unsafe fn maskAmount(&self) -> CGFloat;
102
103 #[unsafe(method(maskedBackgroundView))]
104 #[unsafe(method_family = none)]
105 pub unsafe fn maskedBackgroundView(&self) -> Retained<UIView>;
106
107 #[unsafe(method(maskedContentView))]
108 #[unsafe(method_family = none)]
109 pub unsafe fn maskedContentView(&self) -> Retained<UIView>;
110
111 #[cfg(feature = "objc2-core-foundation")]
112 #[unsafe(method(maskAmountWillChange:))]
113 #[unsafe(method_family = none)]
114 pub unsafe fn maskAmountWillChange(&self, next_mask_amount: CGFloat);
115
116 #[unsafe(method(maskAmountDidChange))]
117 #[unsafe(method_family = none)]
118 pub unsafe fn maskAmountDidChange(&self);
119
120 #[cfg(feature = "objc2-core-foundation")]
121 #[unsafe(method(normalizedPositionWillChange:))]
122 #[unsafe(method_family = none)]
123 pub unsafe fn normalizedPositionWillChange(&self, next_normalized_position: CGFloat);
124
125 #[unsafe(method(normalizedPositionDidChange))]
126 #[unsafe(method_family = none)]
127 pub unsafe fn normalizedPositionDidChange(&self);
128 );
129}
130
131impl TVCollectionViewFullScreenCell {
133 extern_methods!(
134 #[cfg(feature = "objc2-core-foundation")]
135 #[unsafe(method(initWithFrame:))]
136 #[unsafe(method_family = init)]
137 pub unsafe fn initWithFrame(this: Allocated<Self>, frame: CGRect) -> Retained<Self>;
138
139 #[unsafe(method(initWithCoder:))]
143 #[unsafe(method_family = init)]
144 pub unsafe fn initWithCoder(
145 this: Allocated<Self>,
146 coder: &NSCoder,
147 ) -> Option<Retained<Self>>;
148
149 #[unsafe(method(init))]
150 #[unsafe(method_family = init)]
151 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
152 );
153}
154
155impl TVCollectionViewFullScreenCell {
157 extern_methods!(
158 #[unsafe(method(new))]
159 #[unsafe(method_family = new)]
160 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
161 );
162}