objc2_map_kit/generated/
MKLookAroundSnapshotOptions.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
11extern_class!(
12 #[unsafe(super(NSObject))]
14 #[derive(Debug, PartialEq, Eq, Hash)]
15 pub struct MKLookAroundSnapshotOptions;
16);
17
18unsafe impl NSObjectProtocol for MKLookAroundSnapshotOptions {}
19
20impl MKLookAroundSnapshotOptions {
21 extern_methods!(
22 #[cfg(feature = "MKPointOfInterestFilter")]
23 #[unsafe(method(pointOfInterestFilter))]
24 #[unsafe(method_family = none)]
25 pub unsafe fn pointOfInterestFilter(&self) -> Option<Retained<MKPointOfInterestFilter>>;
26
27 #[cfg(feature = "MKPointOfInterestFilter")]
28 #[unsafe(method(setPointOfInterestFilter:))]
30 #[unsafe(method_family = none)]
31 pub unsafe fn setPointOfInterestFilter(
32 &self,
33 point_of_interest_filter: Option<&MKPointOfInterestFilter>,
34 );
35
36 #[cfg(feature = "objc2-core-foundation")]
37 #[unsafe(method(size))]
38 #[unsafe(method_family = none)]
39 pub unsafe fn size(&self) -> CGSize;
40
41 #[cfg(feature = "objc2-core-foundation")]
42 #[unsafe(method(setSize:))]
44 #[unsafe(method_family = none)]
45 pub unsafe fn setSize(&self, size: CGSize);
46 );
47}
48
49impl MKLookAroundSnapshotOptions {
51 extern_methods!(
52 #[unsafe(method(init))]
53 #[unsafe(method_family = init)]
54 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
55
56 #[unsafe(method(new))]
57 #[unsafe(method_family = new)]
58 pub unsafe fn new() -> Retained<Self>;
59 );
60}