pub struct PendingEffect<'haptic> { /* private fields */ }
Expand description
An haptic effect but pending to play.
Implementations§
Source§impl<'haptic> PendingEffect<'haptic>
impl<'haptic> PendingEffect<'haptic>
Sourcepub fn update(&self, effect: &HapticEffect) -> Result<()>
pub fn update(&self, effect: &HapticEffect) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl<'haptic> Freeze for PendingEffect<'haptic>
impl<'haptic> RefUnwindSafe for PendingEffect<'haptic>
impl<'haptic> !Send for PendingEffect<'haptic>
impl<'haptic> !Sync for PendingEffect<'haptic>
impl<'haptic> Unpin for PendingEffect<'haptic>
impl<'haptic> UnwindSafe for PendingEffect<'haptic>
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