pub unsafe trait NSObjectNSDelayedPerforming: ClassType {
// Provided methods
unsafe fn performSelector_withObject_afterDelay_inModes(
&self,
a_selector: Sel,
an_argument: Option<&AnyObject>,
delay: NSTimeInterval,
modes: &NSArray<NSRunLoopMode>
)
where Self: Sized + Message { ... }
unsafe fn performSelector_withObject_afterDelay(
&self,
a_selector: Sel,
an_argument: Option<&AnyObject>,
delay: NSTimeInterval
)
where Self: Sized + Message { ... }
unsafe fn cancelPreviousPerformRequestsWithTarget_selector_object(
a_target: &AnyObject,
a_selector: Sel,
an_argument: Option<&AnyObject>
)
where Self: Sized + ClassType { ... }
unsafe fn cancelPreviousPerformRequestsWithTarget(a_target: &AnyObject)
where Self: Sized + ClassType { ... }
}
Available on crate feature
NSRunLoop
only.Expand description
Category “NSDelayedPerforming” on NSObject
.
Provided Methods§
unsafe fn performSelector_withObject_afterDelay_inModes( &self, a_selector: Sel, an_argument: Option<&AnyObject>, delay: NSTimeInterval, modes: &NSArray<NSRunLoopMode> )
Available on crate features
NSArray
and NSDate
and NSObjCRuntime
and NSString
only.unsafe fn performSelector_withObject_afterDelay( &self, a_selector: Sel, an_argument: Option<&AnyObject>, delay: NSTimeInterval )
Available on crate feature
NSDate
only.unsafe fn cancelPreviousPerformRequestsWithTarget_selector_object( a_target: &AnyObject, a_selector: Sel, an_argument: Option<&AnyObject> )
unsafe fn cancelPreviousPerformRequestsWithTarget(a_target: &AnyObject)
Object Safety§
This trait is not object safe.