MCPcopy Create free account
hub / github.com/Schr3da/gdext-rust-tutorials / MySingleton

Class MySingleton

singleton/rust/src/singleton.rs:5–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3use godot::prelude::*;
4
5pub struct MySingleton {
6 pub data: Vec<String>,
7}
8
9impl MySingleton {
10 pub fn add(&mut self, d: String) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected