[][src]Struct openxr::HapticVibration

#[repr(transparent)]pub struct HapticVibration<'a> { /* fields omitted */ }

Implementations

impl<'a> HapticVibration<'a>[src]

pub fn new() -> Self[src]

pub unsafe fn from_raw(inner: HapticVibration) -> Self[src]

Initialize with the supplied raw values

Safety

The guarantees normally enforced by this builder (e.g. lifetimes) must be preserved.

pub fn into_raw(self) -> HapticVibration[src]

pub fn as_raw(&self) -> &HapticVibration[src]

pub fn duration(self, value: Duration) -> Self[src]

pub fn frequency(self, value: f32) -> Self[src]

pub fn amplitude(self, value: f32) -> Self[src]

Trait Implementations

impl<'a> Clone for HapticVibration<'a>[src]

impl<'a> Copy for HapticVibration<'a>[src]

impl<'a> Default for HapticVibration<'a>[src]

impl<'a> Deref for HapticVibration<'a>[src]

type Target = HapticBase<'a>

The resulting type after dereferencing.

Auto Trait Implementations

impl<'a> RefUnwindSafe for HapticVibration<'a>

impl<'a> !Send for HapticVibration<'a>

impl<'a> !Sync for HapticVibration<'a>

impl<'a> Unpin for HapticVibration<'a>

impl<'a> UnwindSafe for HapticVibration<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.