objc2_cloud_kit/generated/
CKAsset.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 CKAsset;
14);
15
16unsafe impl NSObjectProtocol for CKAsset {}
17
18impl CKAsset {
19 extern_methods!(
20 #[unsafe(method(init))]
21 #[unsafe(method_family = init)]
22 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
23
24 #[unsafe(method(new))]
25 #[unsafe(method_family = new)]
26 pub unsafe fn new() -> Retained<Self>;
27
28 #[unsafe(method(initWithFileURL:))]
30 #[unsafe(method_family = init)]
31 pub unsafe fn initWithFileURL(this: Allocated<Self>, file_url: &NSURL) -> Retained<Self>;
32
33 #[unsafe(method(fileURL))]
35 #[unsafe(method_family = none)]
36 pub unsafe fn fileURL(&self) -> Option<Retained<NSURL>>;
37 );
38}