jamiebrynes7 / spatialos-sdk-rs

Rust integration of the SpatialOS C API bindings
Apache License 2.0
21 stars 6 forks source link

Implement `Default` for all the parameters #183

Closed jamiebrynes7 closed 4 years ago

jamiebrynes7 commented 4 years ago

In most of these we had a default() method, but not an actual Default trait impl. This PR resolves this.

codecov[bot] commented 4 years ago

Codecov Report

Merging #183 into master will decrease coverage by 0.00%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #183      +/-   ##
==========================================
- Coverage   18.70%   18.70%   -0.01%     
==========================================
  Files          47       47              
  Lines        7426     7427       +1     
==========================================
  Hits         1389     1389              
- Misses       6037     6038       +1     
Impacted Files Coverage Δ
project-example/src/generated.rs 1.39% <0.00%> (ø)
spatialos-sdk/src/worker/logging.rs 0.00% <0.00%> (ø)
spatialos-sdk/src/worker/parameters.rs 4.14% <0.00%> (-0.02%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5ba6ea4...ed00bc6. Read the comment docs.