MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / from_raw

Method from_raw

src/input/gamepad.rs:16–18  ·  view source on GitHub ↗
(id: SDL_JoystickID)

Source from the content-addressed store, hash-verified

14
15impl JoystickID {
16 pub fn from_raw(id: SDL_JoystickID) -> JoystickID {
17 JoystickID(id)
18 }
19}
20
21#[derive(Clone)]

Callers

nothing calls this directly

Calls 2

JoystickIDClass · 0.85
GamepadClass · 0.85

Tested by

no test coverage detected