Skip to main content

ruma_from_u64

Function ruma_from_u64 

Source
pub fn ruma_from_u64(val: u64) -> UInt
Expand description

Converts a u64 to a Matrix unsigned integer.

The conversion is exact. It panics if the value exceeds the range supported by [ruma::UInt].