WKCrownDelegate

Trait WKCrownDelegate 

Source
pub unsafe trait WKCrownDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn crownDidRotate_rotationalDelta(
        &self,
        crown_sequencer: Option<&WKCrownSequencer>,
        rotational_delta: c_double,
    )
       where Self: Sized + Message { ... }
    unsafe fn crownDidBecomeIdle(
        &self,
        crown_sequencer: Option<&WKCrownSequencer>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature WKCrownSequencer only.
Expand description

Provided Methods§

Source

unsafe fn crownDidRotate_rotationalDelta( &self, crown_sequencer: Option<&WKCrownSequencer>, rotational_delta: c_double, )
where Self: Sized + Message,

Source

unsafe fn crownDidBecomeIdle(&self, crown_sequencer: Option<&WKCrownSequencer>)
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn WKCrownDelegate

Source§

const NAME: &'static str = "WKCrownDelegate"

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 WKCrownDelegate

Implementations on Foreign Types§

Source§

impl<T> WKCrownDelegate for ProtocolObject<T>
where T: ?Sized + WKCrownDelegate,

Implementors§