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 au64
. - u64_
to_ timelock - Map a
u64
to aTimelock
.