Trait icrate::GameController::GCAxisElement

source ·
pub unsafe trait GCAxisElement: GCPhysicalInputElement {
    // Provided methods
    unsafe fn absoluteInput(
        &self
    ) -> Option<Id<ProtocolObject<dyn GCAxisInput>>>
       where Self: Sized + Message { ... }
    unsafe fn relativeInput(&self) -> Id<ProtocolObject<dyn GCRelativeInput>>
       where Self: Sized + Message { ... }
}
👎Deprecated: icrate::GameController has been moved to objc2-game-controller
Available on crate feature GameController only.

Provided Methods§

source

unsafe fn absoluteInput(&self) -> Option<Id<ProtocolObject<dyn GCAxisInput>>>
where Self: Sized + Message,

👎Deprecated: icrate::GameController has been moved to objc2-game-controller
source

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

👎Deprecated: icrate::GameController has been moved to objc2-game-controller

Trait Implementations§

source§

impl ProtocolType for dyn GCAxisElement

source§

const NAME: &'static str = "GCAxisElement"

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 GCAxisElement
where T: ?Sized + Message + GCAxisElement,

Implementations on Foreign Types§

source§

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

Implementors§

source§

impl GCAxisElement for GCSteeringWheelElement

Available on crate feature GameController_GCSteeringWheelElement only.