MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / default

Method default

07_structs/rust/defaults.rs:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19impl Default for D {
20 fn default() -> Self {
21 Self { x: 0, y: 0, z: 0 }
22 }
23}
24
25fn main() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected