#[repr(C)]pub struct VibrationValue {
pub amplitude_low: f32,
pub frequency_low: f32,
pub amplitude_high: f32,
pub frequency_high: f32,
}Expand description
Fields§
§amplitude_low: f32§frequency_low: f32§amplitude_high: f32§frequency_high: f32Implementations§
Source§impl VibrationValue
impl VibrationValue
pub fn frequency_low_default() -> i32
pub fn set_frequency_low_default(value: i32)
pub fn frequency_high_default() -> i32
pub fn set_frequency_high_default(value: i32)
Source§impl VibrationValue
impl VibrationValue
Sourcepub fn make() -> VibrationValue
pub fn make() -> VibrationValue
Make() overload
Sourcepub fn make_2(
amplitude_low: impl Into<f32>,
frequency_low: impl Into<f32>,
amplitude_high: impl Into<f32>,
frequency_high: impl Into<f32>,
) -> VibrationValue
pub fn make_2( amplitude_low: impl Into<f32>, frequency_low: impl Into<f32>, amplitude_high: impl Into<f32>, frequency_high: impl Into<f32>, ) -> VibrationValue
Make(f32, f32, f32, f32) overload
Source§impl VibrationValue
impl VibrationValue
Sourcepub fn ctor(
&mut self,
amplitude_low: impl Into<f32>,
frequency_low: impl Into<f32>,
amplitude_high: impl Into<f32>,
frequency_high: impl Into<f32>,
)
pub fn ctor( &mut self, amplitude_low: impl Into<f32>, frequency_low: impl Into<f32>, amplitude_high: impl Into<f32>, frequency_high: impl Into<f32>, )
.ctor(f32, f32, f32, f32) overload
Sourcepub fn set(
&mut self,
amplitude_low: impl Into<f32>,
frequency_low: impl Into<f32>,
amplitude_high: impl Into<f32>,
frequency_high: impl Into<f32>,
)
pub fn set( &mut self, amplitude_low: impl Into<f32>, frequency_low: impl Into<f32>, amplitude_high: impl Into<f32>, frequency_high: impl Into<f32>, )
Set(f32, f32, f32, f32) overload
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
Source§impl VibrationValue
impl VibrationValue
pub fn make_method_info() -> &'static MethodInfo
pub fn make_2_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn set_method_info() -> &'static MethodInfo
pub fn clear_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for VibrationValue
impl ClassIdentity for VibrationValue
Source§impl Clone for VibrationValue
impl Clone for VibrationValue
Source§fn clone(&self) -> VibrationValue
fn clone(&self) -> VibrationValue
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 VibrationValue
Auto Trait Implementations§
impl Freeze for VibrationValue
impl RefUnwindSafe for VibrationValue
impl Send for VibrationValue
impl Sync for VibrationValue
impl Unpin for VibrationValue
impl UnwindSafe for VibrationValue
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)