Questions tagged [saturating]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
1 answer
61 views

How do you convert between Substrate specific types and Rust primitive types?

Using the Substrate blockchain framework, how can I convert between Substrate specific types and Rust primitive types and vice versa? For example: Convert a time (T::Moment) to a u64 Convert a u64 to ...
user avatar
  • 9,195