pub trait IGyroMnagerMethods: IGyroMnager {
// Provided methods
fn get_pad_style(self) -> NpadStyle { ... }
fn set_pad_style(self, value: impl Into<NpadStyle>) { ... }
fn ctor(self) { ... }
fn setup_pad(
self,
npad_id: impl Into<NpadId>,
npad_style: impl Into<NpadStyle>,
) { ... }
fn start_sampling(self) { ... }
fn stop_sampling(self) { ... }
fn update(self) { ... }
fn get_state(
self,
type: impl Into<GyroMnager_DeviceType>,
) -> SixAxisSensorState { ... }
}Provided Methods§
Sourcefn get_pad_style(self) -> NpadStyle
fn get_pad_style(self) -> NpadStyle
get_PadStyle() overload
Sourcefn set_pad_style(self, value: impl Into<NpadStyle>)
fn set_pad_style(self, value: impl Into<NpadStyle>)
set_PadStyle(crate::nn::hid::npadstyle::NpadStyle) overload
Sourcefn setup_pad(self, npad_id: impl Into<NpadId>, npad_style: impl Into<NpadStyle>)
fn setup_pad(self, npad_id: impl Into<NpadId>, npad_style: impl Into<NpadStyle>)
SetupPad(crate::nn::hid::npadid::NpadId, crate::nn::hid::npadstyle::NpadStyle) overload
Sourcefn start_sampling(self)
fn start_sampling(self)
StartSampling() overload
Sourcefn stop_sampling(self)
fn stop_sampling(self)
StopSampling() overload
Sourcefn get_state(self, type: impl Into<GyroMnager_DeviceType>) -> SixAxisSensorState
fn get_state(self, type: impl Into<GyroMnager_DeviceType>) -> SixAxisSensorState
GetState(crate::app::gyromnager::GyroMnager_DeviceType) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IGyroMnager> IGyroMnagerMethods for __T
Available on crate feature
app-gyromnager only.