Struct rich_sdl2_rust::haptic::PendingEffect
source · 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> 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