Skip to main content

IGyroMnagerMethods

Trait IGyroMnagerMethods 

Source
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§

Source

fn get_pad_style(self) -> NpadStyle

get_PadStyle() overload

Source

fn set_pad_style(self, value: impl Into<NpadStyle>)

set_PadStyle(crate::nn::hid::npadstyle::NpadStyle) overload

Source

fn ctor(self)

.ctor() overload

Source

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

Source

fn start_sampling(self)

StartSampling() overload

Source

fn stop_sampling(self)

StopSampling() overload

Source

fn update(self)

Update() overload

Source

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§

Source§

impl<__T: IGyroMnager> IGyroMnagerMethods for __T

Available on crate feature app-gyromnager only.