Expand description
Macros for use within the library. They are not publicly available.
Macrosยง
- __
impl_ ๐assign Helper macro for easily implementingOpAssign
. - bug ๐
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 aComponentRange
error if the value is out of range. - expect_
opt ๐Try to unwrap an expression, panicking if not possible. - impl_
add_ ๐assign ImplementAddAssign
for the provided types. - impl_
div_ ๐assign ImplementDivAssign
for the provided types. - impl_
mul_ ๐assign ImplementMulAssign
for the provided types. - impl_
sub_ ๐assign ImplementSubAssign
for the provided types.