time

Module internal_macros

Source
Expand description

Macros for use within the library. They are not publicly available.

Macrosยง

__impl_assign ๐Ÿ”’
Helper macro for easily implementing OpAssign.
bug ๐Ÿ”’ formatting or parsing
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.