Expand description
Macros for use within the library. They are not publicly available.
Macrosยง
- __
impl_ ๐assign - Helper macro for easily implementing
OpAssign
. - bug ๐
formatting
orparsing
unreachable!()
, but better.- cascade ๐
- Cascade an out-of-bounds value.
- const_
try ๐ - Try to unwrap an expression, returning if not possible.
- const_
try_ ๐opt - Try to unwrap an expression, returning if not possible.
- div_
floor ๐ - Division of integers, rounding the resulting value towards negative infinity.
- ensure_
ranged ๐ - Constructs a ranged integer, returning a
ComponentRange
error if the value is out of range. - expect_
opt ๐ - Try to unwrap an expression, panicking if not possible.
- impl_
add_ ๐assign - Implement
AddAssign
for the provided types. - impl_
div_ ๐assign - Implement
DivAssign
for the provided types. - impl_
mul_ ๐assign - Implement
MulAssign
for the provided types. - impl_
sub_ ๐assign - Implement
SubAssign
for the provided types.