Struct sdl2::HapticSubsystem [−][src]
pub struct HapticSubsystem { /* fields omitted */ }
Methods
impl HapticSubsystem
[src]
impl HapticSubsystem
pub fn open_from_joystick_id(
&self,
joystick_index: u32
) -> Result<Haptic, IntegerOrSdlError>
[src]
pub fn open_from_joystick_id(
&self,
joystick_index: u32
) -> Result<Haptic, IntegerOrSdlError>
Attempt to open the joystick at index joystick_index
and return its haptic device.
impl HapticSubsystem
[src]
impl HapticSubsystem
Trait Implementations
impl Debug for HapticSubsystem
[src]
impl Debug for HapticSubsystem
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for HapticSubsystem
[src]
impl Clone for HapticSubsystem
fn clone(&self) -> HapticSubsystem
[src]
fn clone(&self) -> HapticSubsystem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for HapticSubsystem
impl !Send for HapticSubsystem
impl !Sync for HapticSubsystem
impl !Sync for HapticSubsystem