MCPcopy Create free account

hub / github.com/Houtamelo/gdext_coroutines / functions

Functions46 in github.com/Houtamelo/gdext_coroutines

↓ 43 callersFunctionlog
(msg: impl std::fmt::Display)
rust/integration_tests/src/lib.rs:52
↓ 15 callersFunctionlog_err
(msg: impl std::fmt::Display)
rust/integration_tests/src/lib.rs:56
↓ 14 callersFunctionframes
Yield for a number of frames. A frame equals a single [process](INode::process) or [physics_process](INode::physics_process) call, depending on the c
rust/src/yielding.rs:192
↓ 10 callersMethodspawn
Completes the builder, spawning the coroutine's executor. The executor is the type [SpireCoroutine], a node that will be added as a child of `owner`.
rust/src/builder.rs:240
↓ 9 callersMethodcoroutine
( &self, f: impl 'static + Unpin + Coroutine<(), Yield = SpireYield, Return = R>, )
rust/src/start_coroutine.rs:78
↓ 8 callersMethodstart_coroutine
Spawns and starts a new coroutine with default settings. # Example ```no_run #![feature(coroutines)] use godot::prelude::*; use gdext_coroutines::pr
rust/src/start_coroutine.rs:29
↓ 6 callersMethodauto_start
Whether the coroutine should be started automatically upon spawning. If false, you'll have to manually call [SpireCoroutine::resume] after spawning.
rust/src/builder.rs:120
↓ 5 callersFunctionseconds
Yield for a specific amount of engine time. The time counter is affected by [Engine::time_scale](Engine::get_time_scale) The time counter is also de
rust/src/yielding.rs:219
↓ 4 callersMethodprocess_mode
Godot [ProcessMode] which the coroutine should run in.
rust/src/builder.rs:128
↓ 4 callersMethodresume
(&mut self)
rust/src/coroutine.rs:111
↓ 3 callersMethodde_spawn
(&mut self)
rust/src/coroutine.rs:190
↓ 3 callersMethodkill
(&mut self)
rust/src/coroutine.rs:164
↓ 3 callersMethodstart_async_task
Starts a new async_task with default settings. # Example ```no_run #![feature(coroutines)] use godot::prelude::*; use gdext_coroutines::prelude::*;
rust/src/start_async_task.rs:27
↓ 2 callersMethodfinish_with
(&mut self, result: Variant)
rust/src/coroutine.rs:172
↓ 2 callersMethodforce_run_to_completion
(&mut self)
rust/src/coroutine.rs:129
↓ 2 callersMethodis_finished
(&self)
rust/src/coroutine.rs:103
↓ 2 callersMethodis_running
(&self)
rust/src/coroutine.rs:98
↓ 2 callersMethodkeep_waiting
(&mut self, _delta_time: f64)
rust/src/yielding.rs:32
↓ 2 callersMethodresume_closure
(&mut self)
rust/src/coroutine.rs:280
↓ 2 callersMethodrun
(&mut self, delta_time: f64)
rust/src/coroutine.rs:200
↓ 2 callersFunctionwait_for_signal_untyped
Coroutine pauses execution until the given [Signal] is emitted. This is the untyped variant — accepts any `Signal` directly. See [wait_for_signal] f
rust/src/yielding.rs:77
↓ 2 callersMethodwait_until_finished
(&self)
rust/src/yielding.rs:47
↓ 1 callersMethodasync_task
( &self, f: impl Future<Output = R> + 'static, )
rust/src/start_async_task.rs:70
↓ 1 callersMethodon_finish
Adds `f` to the list of closures that will be invoked when the coroutine finishes. The return value of the coroutine(`T`) will be passed to `f`. [fi
rust/src/builder.rs:173
↓ 1 callersMethodon_finish_callable
See [on_finish](SpireCoroutine::on_finish) This variant takes a [Callable] instead of a closure.
rust/src/builder.rs:202
↓ 1 callersMethodpause
(&mut self)
rust/src/coroutine.rs:119
↓ 1 callersMethodpoll
(&mut self, delta_time: f64)
rust/src/coroutine.rs:206
↓ 1 callersFunctiontest_1
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:63
↓ 1 callersFunctiontest_2
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:173
↓ 1 callersFunctiontest_3
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:212
↓ 1 callersFunctiontest_4
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:284
↓ 1 callersFunctiontest_5
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:359
↓ 1 callersFunctiontest_6
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:429
↓ 1 callersFunctionwait_for_signal
Coroutine pauses execution until the given typed signal is emitted. Accepts a reference to a [TypedSignal], which can be obtained from a Godot class
rust/src/yielding.rs:109
↓ 1 callersFunctionwait_until
Coroutine resumes execution once `f` returns true. `f` is invoked whenever the coroutine is polled. If unpaused, the coroutine is polled either on [
rust/src/yielding.rs:168
↓ 1 callersFunctionwait_while
Coroutine pauses execution as long as `f` returns true. `f` is invoked whenever the coroutine is polled. If unpaused, the coroutine is polled either
rust/src/yielding.rs:142
Methodis_paused
(&self)
rust/src/coroutine.rs:90
Methodnew_async_task
( owner: Gd<Node>, f: impl std::future::Future<Output = R> + 'static, )
rust/src/builder.rs:81
Methodnew_coroutine
( owner: Gd<Node>, f: impl 'static + Unpin + Coroutine<(), Yield = SpireYield, Return = R>, )
rust/src/builder.rs:45
Functionnext_frame
()
rust/src/yielding.rs:230
Methodphysics_process
(&mut self, delta: f64)
rust/src/coroutine.rs:51
Methodpoll_mode
Determines if the coroutine should be polled in [_process](INode::process) or [_physics_process](INode::physics_process)
rust/src/builder.rs:137
Methodprocess
(&mut self, delta: f64)
rust/src/coroutine.rs:45
Methodready
(&mut self)
rust/integration_tests/src/lib.rs:46
Methodtest_from_other_node
(node: Gd<Node>)
rust/integration_tests/src/lib.rs:34
Methodtest_routine
(&mut self)
rust/integration_tests/src/lib.rs:24