objc2_app_kit/generated/
NSAppleScriptExtensions.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use objc2::__framework_prelude::*;
4use objc2_foundation::*;
5
6use crate::*;
7
8mod private_NSAppleScriptNSExtensions {
9    pub trait Sealed {}
10}
11
12/// Category "NSExtensions" on [`NSAppleScript`].
13#[doc(alias = "NSExtensions")]
14pub unsafe trait NSAppleScriptNSExtensions:
15    ClassType + Sized + private_NSAppleScriptNSExtensions::Sealed
16{
17    extern_methods!(
18        #[unsafe(method(richTextSource))]
19        #[unsafe(method_family = none)]
20        unsafe fn richTextSource(&self) -> Option<Retained<NSAttributedString>>;
21    );
22}
23
24impl private_NSAppleScriptNSExtensions::Sealed for NSAppleScript {}
25unsafe impl NSAppleScriptNSExtensions for NSAppleScript {}