Struct openxr_sys::HapticVibration
source · [−]#[repr(C)]pub struct HapticVibration {
pub ty: StructureType,
pub next: *const c_void,
pub duration: Duration,
pub frequency: f32,
pub amplitude: f32,
}Expand description
Fields
ty: StructureTypenext: *const c_voidduration: Durationfrequency: f32amplitude: f32Implementations
sourceimpl HapticVibration
impl HapticVibration
pub const TYPE: StructureType = StructureType::HAPTIC_VIBRATION
Trait Implementations
sourceimpl Clone for HapticVibration
impl Clone for HapticVibration
sourcefn clone(&self) -> HapticVibration
fn clone(&self) -> HapticVibration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for HapticVibration
impl Debug for HapticVibration
impl Copy for HapticVibration
Auto Trait Implementations
impl RefUnwindSafe for HapticVibration
impl !Send for HapticVibration
impl !Sync for HapticVibration
impl Unpin for HapticVibration
impl UnwindSafe for HapticVibration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more