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

Method drop

src/input/gamepad.rs:47–51  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

45
46impl Drop for GamepadInner {
47 fn drop(&mut self) {
48 unsafe {
49 SDL_CloseGamepad(self.handle);
50 }
51 }
52}
53
54#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected