Trait objc2_web_kit::NSObjectWebScripting
source · pub unsafe trait NSObjectWebScripting: ClassType {
// Provided methods
unsafe fn webScriptNameForSelector(
selector: Option<Sel>
) -> Option<Retained<NSString>>
where Self: Sized + ClassType { ... }
unsafe fn isSelectorExcludedFromWebScript(selector: Option<Sel>) -> bool
where Self: Sized + ClassType { ... }
unsafe fn webScriptNameForKey(
name: *mut c_char
) -> Option<Retained<NSString>>
where Self: Sized + ClassType { ... }
unsafe fn isKeyExcludedFromWebScript(name: *mut c_char) -> bool
where Self: Sized + ClassType { ... }
unsafe fn invokeUndefinedMethodFromWebScript_withArguments(
&self,
name: Option<&NSString>,
arguments: Option<&NSArray>
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn invokeDefaultMethodWithArguments(
&self,
arguments: Option<&NSArray>
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn finalizeForWebScript(&self)
where Self: Sized + Message { ... }
}
Available on crate feature
WebScriptObject
only.Expand description
Category “WebScripting” on NSObject
.
Provided Methods§
unsafe fn webScriptNameForSelector( selector: Option<Sel> ) -> Option<Retained<NSString>>
unsafe fn isSelectorExcludedFromWebScript(selector: Option<Sel>) -> bool
unsafe fn webScriptNameForKey(name: *mut c_char) -> Option<Retained<NSString>>
unsafe fn isKeyExcludedFromWebScript(name: *mut c_char) -> bool
unsafe fn invokeUndefinedMethodFromWebScript_withArguments( &self, name: Option<&NSString>, arguments: Option<&NSArray> ) -> Option<Retained<AnyObject>>
unsafe fn invokeDefaultMethodWithArguments( &self, arguments: Option<&NSArray> ) -> Option<Retained<AnyObject>>
unsafe fn finalizeForWebScript(&self)
Object Safety§
This trait is not object safe.