Trait objc2_game_controller::GCDevice
source · pub unsafe trait GCDevice: NSObjectProtocol {
// Provided methods
unsafe fn vendorName(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
unsafe fn productCategory(&self) -> Retained<NSString>
where Self: Sized + Message { ... }
unsafe fn physicalInputProfile(&self) -> Retained<GCPhysicalInputProfile>
where Self: Sized + Message { ... }
}
Available on crate feature
GCDevice
only.Provided Methods§
unsafe fn vendorName(&self) -> Option<Retained<NSString>>
unsafe fn productCategory(&self) -> Retained<NSString>
unsafe fn physicalInputProfile(&self) -> Retained<GCPhysicalInputProfile>
👎Deprecated: Use the physicalInputProfile property on GCController instead. For GCKeyboard, use the keyboardInput property. For GCMouse, use the mouseInput property.
Available on crate feature
GCPhysicalInputProfile
only.Trait Implementations§
source§impl ProtocolType for dyn GCDevice
impl ProtocolType for dyn GCDevice
impl<T> ImplementedBy<T> for dyn GCDevice
Implementations on Foreign Types§
impl<T> GCDevice for ProtocolObject<T>
Implementors§
impl GCDevice for GCController
Available on crate feature
GCController
only.impl GCDevice for GCKeyboard
Available on crate feature
GCKeyboard
only.impl GCDevice for GCMouse
Available on crate feature
GCMouse
only.impl GCDevice for GCRacingWheel
Available on crate feature
GCRacingWheel
only.