Trait tylar::Halve
[−]
[src]
pub trait Halve { type Out; }
Halving of number types.
Div<_,P2>
could be used instead of this, but Div
stresses the typechecker more
than Halve
, so that Halve
can be used with larger numbers without running into
the recursion limit.
Associated Types
type Out
Result of the operation, i.e. Out
= Self
/ 2.