#[repr(C)]pub struct SixAxisSensorState {}Expand description
Implementations§
Source§impl SixAxisSensorState
impl SixAxisSensorState
pub fn accelerometer_max() -> f32
pub fn set_accelerometer_max(value: f32)
pub fn angular_velocity_max() -> f32
pub fn set_angular_velocity_max(value: f32)
Source§impl SixAxisSensorState
impl SixAxisSensorState
Sourcepub fn get_quaternion_2() -> (SixAxisSensorState, f32, f32, f32, f32)
pub fn get_quaternion_2() -> (SixAxisSensorState, f32, f32, f32, f32)
GetQuaternion(*mutcrate::nn::hid::sixaxissensorstate::SixAxisSensorState, *mutf32, *mutf32, *mutf32, *mutf32) overload
Source§impl SixAxisSensorState
impl SixAxisSensorState
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
Sourcepub fn get_quaternion(&mut self) -> (f32, f32, f32, f32)
pub fn get_quaternion(&mut self) -> (f32, f32, f32, f32)
GetQuaternion(*mutf32, *mutf32, *mutf32, *mutf32) overload
Source§impl SixAxisSensorState
impl SixAxisSensorState
pub fn to_string_method_info() -> &'static MethodInfo
pub fn get_quaternion_method_info() -> &'static MethodInfo
pub fn get_quaternion_2_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for SixAxisSensorState
impl ClassIdentity for SixAxisSensorState
Source§impl Clone for SixAxisSensorState
impl Clone for SixAxisSensorState
Source§fn clone(&self) -> SixAxisSensorState
fn clone(&self) -> SixAxisSensorState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SixAxisSensorState
Auto Trait Implementations§
impl Freeze for SixAxisSensorState
impl RefUnwindSafe for SixAxisSensorState
impl Send for SixAxisSensorState
impl Sync for SixAxisSensorState
impl Unpin for SixAxisSensorState
impl UnwindSafe for SixAxisSensorState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)