Skip to main content

ruma_from_usize

Function ruma_from_usize 

Source
pub fn ruma_from_usize(val: usize) -> UInt
Expand description

Converts a usize to a Matrix unsigned integer.

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