#[repr(C)]pub struct ovrHapticsBuffer {
pub Samples: *const c_void,
pub SamplesCount: c_int,
pub SubmitMode: ovrHapticsBufferSubmitMode,
}Expand description
Haptics buffer descriptor, contains amplitude samples used for Touch vibration
Fields§
§Samples: *const c_voidSamples stored in opaque format
SamplesCount: c_intNumber of samples
SubmitMode: ovrHapticsBufferSubmitModeHow samples are submitted to the hardware
Trait Implementations§
Source§impl Clone for ovrHapticsBuffer
impl Clone for ovrHapticsBuffer
Source§fn clone(&self) -> ovrHapticsBuffer
fn clone(&self) -> ovrHapticsBuffer
Returns a duplicate 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 ovrHapticsBuffer
impl Debug for ovrHapticsBuffer
impl Copy for ovrHapticsBuffer
Auto Trait Implementations§
impl Freeze for ovrHapticsBuffer
impl RefUnwindSafe for ovrHapticsBuffer
impl !Send for ovrHapticsBuffer
impl !Sync for ovrHapticsBuffer
impl Unpin for ovrHapticsBuffer
impl UnwindSafe for ovrHapticsBuffer
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