Module map

Source
Expand description

Mapping of data types.

This module provides functions solely for mapping data types into others, mostly similar ones.

#[no_std] compatible.

Functions§

combine_low_high_bits_to_u128
Combine 2 64-bit values into a single u128 value.
split_u128_into_low_high_bits
Split a u128 value into 2 64-bit values.
timelock_to_u64
Map Timelock to a u64.
u64_to_timelock
Map a u64 to a Timelock.