WKImageAnimatable

Trait WKImageAnimatable 

Source
pub unsafe trait WKImageAnimatable: NSObjectProtocol {
    // Provided methods
    unsafe fn startAnimating(&self)
       where Self: Sized + Message { ... }
    unsafe fn startAnimatingWithImagesInRange_duration_repeatCount(
        &self,
        image_range: NSRange,
        duration: NSTimeInterval,
        repeat_count: NSInteger,
    )
       where Self: Sized + Message { ... }
    unsafe fn stopAnimating(&self)
       where Self: Sized + Message { ... }
}
Available on crate feature WKInterfaceImage only.
Expand description

Provided Methods§

Source

unsafe fn startAnimating(&self)
where Self: Sized + Message,

Source

unsafe fn startAnimatingWithImagesInRange_duration_repeatCount( &self, image_range: NSRange, duration: NSTimeInterval, repeat_count: NSInteger, )
where Self: Sized + Message,

Source

unsafe fn stopAnimating(&self)
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn WKImageAnimatable

Source§

const NAME: &'static str = "WKImageAnimatable"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn WKImageAnimatable

Implementations on Foreign Types§

Source§

impl<T> WKImageAnimatable for ProtocolObject<T>

Implementors§

Source§

impl WKImageAnimatable for WKInterfaceGroup

Available on crate feature WKInterfaceGroup only.
Source§

impl WKImageAnimatable for WKInterfaceImage