Trait NSObjectNSThreadPerformAdditions

Source
pub unsafe trait NSObjectNSThreadPerformAdditions:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    unsafe fn performSelectorOnMainThread_withObject_waitUntilDone_modes(
        &self,
        a_selector: Sel,
        arg: Option<&AnyObject>,
        wait: bool,
        array: Option<&NSArray<NSString>>,
    ) { ... }
    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>>,
    ) { ... }
    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>,
    ) { ... }
}
Available on crate feature NSThread only.
Expand description

Category “NSThreadPerformAdditions” on NSObject.

Provided Methods§

Source

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.
Source

unsafe fn performSelectorOnMainThread_withObject_waitUntilDone( &self, a_selector: Sel, arg: Option<&AnyObject>, wait: bool, )

Source

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.
Source

unsafe fn performSelector_onThread_withObject_waitUntilDone( &self, a_selector: Sel, thr: &NSThread, arg: Option<&AnyObject>, wait: bool, )

Source

unsafe fn performSelectorInBackground_withObject( &self, a_selector: Sel, arg: Option<&AnyObject>, )

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§