MCPcopy Create free account
hub / github.com/endbasic/endbasic / console_ref

Method console_ref

sdl/src/console.rs:433–435  ·  view source on GitHub ↗

Obtains shared access to the SDL console.

(&self)

Source from the content-addressed store, hash-verified

431
432 /// Obtains shared access to the SDL console.
433 pub fn console_ref(&self) -> &SdlConsole {
434 self.console.as_ref().expect("Console must always be present")
435 }
436
437 /// Synchronously waits for the reception of just one signal.
438 pub fn wait_one_signal(&self) -> Signal {

Callers 2

push_eventMethod · 0.80

Calls

no outgoing calls