pub unsafe trait NSObjectNSThreadPerformAdditions: ClassType {
// Provided methods
unsafe fn performSelectorOnMainThread_withObject_waitUntilDone_modes(
&self,
a_selector: Sel,
arg: Option<&AnyObject>,
wait: bool,
array: Option<&NSArray<NSString>>
)
where Self: Sized + Message { ... }
unsafe fn performSelectorOnMainThread_withObject_waitUntilDone(
&self,
a_selector: Sel,
arg: Option<&AnyObject>,
wait: bool
)
where Self: Sized + Message { ... }
unsafe fn performSelector_onThread_withObject_waitUntilDone_modes(
&self,
a_selector: Sel,
thr: &NSThread,
arg: Option<&AnyObject>,
wait: bool,
array: Option<&NSArray<NSString>>
)
where Self: Sized + Message { ... }
unsafe fn performSelector_onThread_withObject_waitUntilDone(
&self,
a_selector: Sel,
thr: &NSThread,
arg: Option<&AnyObject>,
wait: bool
)
where Self: Sized + Message { ... }
unsafe fn performSelectorInBackground_withObject(
&self,
a_selector: Sel,
arg: Option<&AnyObject>
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSThread
only.Expand description
Category “NSThreadPerformAdditions” on NSObject
.
Provided Methods§
unsafe fn performSelectorOnMainThread_withObject_waitUntilDone_modes( &self, a_selector: Sel, arg: Option<&AnyObject>, wait: bool, array: Option<&NSArray<NSString>> )
Available on crate features
NSArray
and NSString
only.unsafe fn performSelectorOnMainThread_withObject_waitUntilDone( &self, a_selector: Sel, arg: Option<&AnyObject>, wait: bool )
unsafe fn performSelector_onThread_withObject_waitUntilDone_modes( &self, a_selector: Sel, thr: &NSThread, arg: Option<&AnyObject>, wait: bool, array: Option<&NSArray<NSString>> )
Available on crate features
NSArray
and NSString
only.unsafe fn performSelector_onThread_withObject_waitUntilDone( &self, a_selector: Sel, thr: &NSThread, arg: Option<&AnyObject>, wait: bool )
unsafe fn performSelectorInBackground_withObject( &self, a_selector: Sel, arg: Option<&AnyObject> )
Object Safety§
This trait is not object safe.