Trait objc2_game_controller::GCSwitchElement

source ·
pub unsafe trait GCSwitchElement: GCPhysicalInputElement {
    // Provided method
    unsafe fn positionInput(
        &self
    ) -> Id<ProtocolObject<dyn GCSwitchPositionInput>>
       where Self: Sized + Message { ... }
}
Available on crate features GCPhysicalInputElement and GCSwitchElement only.

Provided Methods§

source

unsafe fn positionInput(&self) -> Id<ProtocolObject<dyn GCSwitchPositionInput>>
where Self: Sized + Message,

Available on crate feature GCSwitchPositionInput only.

Trait Implementations§

source§

impl ProtocolType for dyn GCSwitchElement

source§

const NAME: &'static str = "GCSwitchElement"

The name of the Objective-C protocol that this type represents.
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 GCSwitchElement

Implementations on Foreign Types§

source§

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

Implementors§