pub unsafe trait GCButtonElement: GCPhysicalInputElement {
// Provided methods
unsafe fn pressedInput(&self) -> Retained<TodoProtocols>
where Self: Sized + Message { ... }
unsafe fn touchedInput(
&self
) -> Option<Retained<ProtocolObject<dyn GCTouchedStateInput>>>
where Self: Sized + Message { ... }
}
Available on crate features
GCButtonElement
and GCPhysicalInputElement
only.Provided Methods§
unsafe fn pressedInput(&self) -> Retained<TodoProtocols>
Available on crate features
GCLinearInput
and GCPressedStateInput
only.unsafe fn touchedInput( &self ) -> Option<Retained<ProtocolObject<dyn GCTouchedStateInput>>>
Available on crate feature
GCTouchedStateInput
only.