MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / new

Method new

modules/benchmarks/src/ia_loop.rs:19–21  ·  view source on GitHub ↗
(entity_id: u32, x: f32, y: f32, z: f32)

Source from the content-addressed store, hash-verified

17
18impl Velocity {
19 pub fn new(entity_id: u32, x: f32, y: f32, z: f32) -> Self {
20 Self { entity_id, x, y, z }
21 }
22}
23
24#[spacetimedb::table(accessor = position)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected