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. - ipv4_
from_ u32 - Convert an
Ipv4Addr
to au32
. - split_
u128_ into_ low_ high_ bits - Split a
u128
value into 2 64-bit values. - timelock_
to_ u64 - Map
Timelock
to au64
. - u32_
from_ ipv4 - Convert a
u32
to anIpv4Addr
. - u64_
to_ timelock - Map a
u64
to aTimelock
.