MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / Length

Class Length

debugger/testcases/gen_phantom.rs:15–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13/// `f64` already implements the `Clone` and `Copy` traits.
14#[derive(Debug, Clone, Copy)]
15struct Length<Unit>(f64, PhantomData<Unit>);
16
17/// The `Add` trait defines the behavior of the `+` operator.
18impl<Unit> Add for Length<Unit> {

Callers 2

addMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected