MCPcopy Index your code
hub / github.com/endbasic/endbasic / push_event

Method push_event

sdl/src/console.rs:451–453  ·  view source on GitHub ↗

Injects an SDL event into the console.

(&self, ev: Event)

Source from the content-addressed store, hash-verified

449
450 /// Injects an SDL event into the console.
451 pub fn push_event(&self, ev: Event) {
452 self.console_ref().call(Request::PushEvent(ev)).unwrap()
453 }
454
455 /// Verifies that the current state of the console matches a golden imagine. `bmp_basename`
456 /// indicates the name of the BMP image to use, without an extension.

Callers 2

Calls 2

callMethod · 0.80
console_refMethod · 0.80

Tested by 2