Skip to main content

narrow

Function narrow 

Source
fn narrow<S, T>(val: S) -> Result<T, String>
where S: Copy + Display, T: TryFrom<S>,
Expand description

Narrow a 64-bit value to the pointer-sized type, with the reason of a failure (only reachable on a 32-bit target).