Trait windows::Gaming::Input::IGameController_Impl
pub trait IGameController_Impl: Sized {
// Required methods
fn HeadsetConnected(
&self,
value: Option<&TypedEventHandler<IGameController, Headset>>,
) -> Result<EventRegistrationToken>;
fn RemoveHeadsetConnected(
&self,
token: &EventRegistrationToken,
) -> Result<()>;
fn HeadsetDisconnected(
&self,
value: Option<&TypedEventHandler<IGameController, Headset>>,
) -> Result<EventRegistrationToken>;
fn RemoveHeadsetDisconnected(
&self,
token: &EventRegistrationToken,
) -> Result<()>;
fn UserChanged(
&self,
value: Option<&TypedEventHandler<IGameController, UserChangedEventArgs>>,
) -> Result<EventRegistrationToken>;
fn RemoveUserChanged(&self, token: &EventRegistrationToken) -> Result<()>;
fn Headset(&self) -> Result<Headset>;
fn IsWireless(&self) -> Result<bool>;
fn User(&self) -> Result<User>;
}
Required Methods§
fn HeadsetConnected( &self, value: Option<&TypedEventHandler<IGameController, Headset>>, ) -> Result<EventRegistrationToken>
fn RemoveHeadsetConnected(&self, token: &EventRegistrationToken) -> Result<()>
fn HeadsetDisconnected( &self, value: Option<&TypedEventHandler<IGameController, Headset>>, ) -> Result<EventRegistrationToken>
fn RemoveHeadsetDisconnected( &self, token: &EventRegistrationToken, ) -> Result<()>
fn UserChanged( &self, value: Option<&TypedEventHandler<IGameController, UserChangedEventArgs>>, ) -> Result<EventRegistrationToken>
fn RemoveUserChanged(&self, token: &EventRegistrationToken) -> Result<()>
fn Headset(&self) -> Result<Headset>
fn IsWireless(&self) -> Result<bool>
fn User(&self) -> Result<User>
Object Safety§
This trait is not object safe.