pub unsafe trait NSObjectNSScripting: ClassType {
// Provided methods
unsafe fn scriptingValueForSpecifier(
&self,
object_specifier: &NSScriptObjectSpecifier
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn scriptingProperties(
&self
) -> Option<Retained<NSDictionary<NSString, AnyObject>>>
where Self: Sized + Message { ... }
unsafe fn setScriptingProperties(
&self,
scripting_properties: Option<&NSDictionary<NSString, AnyObject>>
)
where Self: Sized + Message { ... }
unsafe fn copyScriptingValue_forKey_withProperties(
&self,
value: &AnyObject,
key: &NSString,
properties: &NSDictionary<NSString, AnyObject>
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn newScriptingObjectOfClass_forValueForKey_withContentsValue_properties(
&self,
object_class: &AnyClass,
key: &NSString,
contents_value: Option<&AnyObject>,
properties: &NSDictionary<NSString, AnyObject>
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSObjectScripting
only.Expand description
Category “NSScripting” on NSObject
.
Provided Methods§
unsafe fn scriptingValueForSpecifier( &self, object_specifier: &NSScriptObjectSpecifier ) -> Option<Retained<AnyObject>>
Available on crate feature
NSScriptObjectSpecifiers
only.unsafe fn scriptingProperties( &self ) -> Option<Retained<NSDictionary<NSString, AnyObject>>>
Available on crate features
NSDictionary
and NSString
only.unsafe fn setScriptingProperties( &self, scripting_properties: Option<&NSDictionary<NSString, AnyObject>> )
Available on crate features
NSDictionary
and NSString
only.unsafe fn copyScriptingValue_forKey_withProperties( &self, value: &AnyObject, key: &NSString, properties: &NSDictionary<NSString, AnyObject> ) -> Option<Retained<AnyObject>>
Available on crate features
NSDictionary
and NSString
only.unsafe fn newScriptingObjectOfClass_forValueForKey_withContentsValue_properties( &self, object_class: &AnyClass, key: &NSString, contents_value: Option<&AnyObject>, properties: &NSDictionary<NSString, AnyObject> ) -> Option<Retained<AnyObject>>
Available on crate features
NSDictionary
and NSString
only.Object Safety§
This trait is not object safe.