Crate lower

Crate lower 

Source
Expand description

a lil macro crate.

provides a handy macro for converting a + b to a.add(b) for when you cant easily overload the Add trait, and some macros that provide f*_algebraic (requires nightly), f*_fast (requires nightly), saturating_*, and wrapping_* implementations.

Modules§

algebraic
Provides the algebraic math macro.
fast
Provides the fast math macro. See terms and conditions. Prefer algebraic in most cases.
saturating
Provides the saturating math macro.
wrapping
Provides the wrapping math macro.

Macros§

math
Lower math to method calls. Only useful if you define the functions.

Attribute Macros§

apply
Applys the macro to your stmts. Argument can be algebraic | fast | basic | wrapping | saturating | none