Struct rich_sdl2_rust::haptic::effect::Play
source · pub struct Play {
pub length: u32,
pub delay: u16,
}
Expand description
Length and delay of the playing.
Fields§
§length: u32
The length of the playing in milliseconds.
delay: u16
The delay of the playing.
Trait Implementations§
source§impl PartialEq for Play
impl PartialEq for Play
impl Eq for Play
impl StructuralPartialEq for Play
Auto Trait Implementations§
impl RefUnwindSafe for Play
impl Send for Play
impl Sync for Play
impl Unpin for Play
impl UnwindSafe for Play
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