pub unsafe trait GCDirectionPadElement: GCPhysicalInputElement {
    // Provided methods
    unsafe fn xyAxes(&self) -> Id<ProtocolObject<dyn GCAxis2DInput>>
       where Self: Sized + Message { ... }
    unsafe fn xAxis(&self) -> Id<ProtocolObject<dyn GCAxisInput>>
       where Self: Sized + Message { ... }
    unsafe fn yAxis(&self) -> Id<ProtocolObject<dyn GCAxisInput>>
       where Self: Sized + Message { ... }
    unsafe fn up(&self) -> Id<TodoProtocols>
       where Self: Sized + Message { ... }
    unsafe fn down(&self) -> Id<TodoProtocols>
       where Self: Sized + Message { ... }
    unsafe fn left(&self) -> Id<TodoProtocols>
       where Self: Sized + Message { ... }
    unsafe fn right(&self) -> Id<TodoProtocols>
       where Self: Sized + Message { ... }
}
Available on crate features GCDirectionPadElement and GCPhysicalInputElement only.

Provided Methods§

source

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

Available on crate feature GCAxis2DInput only.
source

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

Available on crate feature GCAxisInput only.
source

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

Available on crate feature GCAxisInput only.
source

unsafe fn up(&self) -> Id<TodoProtocols>
where Self: Sized + Message,

Available on crate features GCLinearInput and GCPressedStateInput only.
source

unsafe fn down(&self) -> Id<TodoProtocols>
where Self: Sized + Message,

Available on crate features GCLinearInput and GCPressedStateInput only.
source

unsafe fn left(&self) -> Id<TodoProtocols>
where Self: Sized + Message,

Available on crate features GCLinearInput and GCPressedStateInput only.
source

unsafe fn right(&self) -> Id<TodoProtocols>
where Self: Sized + Message,

Available on crate features GCLinearInput and GCPressedStateInput only.

Trait Implementations§

source§

impl ProtocolType for dyn GCDirectionPadElement

source§

const NAME: &'static str = "GCDirectionPadElement"

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 GCDirectionPadElement

Implementations on Foreign Types§

source§

impl<T> GCDirectionPadElement for ProtocolObject<T>

Implementors§