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: StructureType
§next: *const c_void
§duration: Duration
§frequency: f32
§amplitude: f32
Implementations§
source§impl HapticVibration
impl HapticVibration
pub const TYPE: StructureType = StructureType::HAPTIC_VIBRATION
Trait Implementations§
source§impl Clone for HapticVibration
impl Clone for HapticVibration
source§fn clone(&self) -> HapticVibration
fn clone(&self) -> HapticVibration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more