pub fn number_of_joysticks(&self) -> Result<i32, String> {
    let out = unsafe { SDL_NumJoysticks() };
    if out < 0 {
      Err(get_error())
    } else {
      Ok(out)
    }
  }
/// Obtains the number of joysticks connected to the system.
Obtains the number of joysticks connected to the system.
Obtains the number of joysticks connected to the system .
pub fn number_of_joysticks(&self) -> Result<i32, String> {
    let out = unsafe { SDL_NumJoysticks() };
    if out < 0 {
      Err(get_error())
    } else {
      Ok(out)
    }
  }
pub fn number_of_joysticks ( & self ) -> Result < i32 , String > { let out = unsafe { SDL_NumJoysticks ( ) } ; if out < 0 { Err ( get_error ( ) ) } else { Ok ( out ) } }
Obtains the number of joysticks connected to the system.
Obtains the number of joysticks connected to the system .
&self
&self