Function |try_to_i128

std/conv::|try_to_i128


Usage

|try_to_i128(value)

Generics

◻ T: TryToI128

Parameters

↳ value: T

Return

Option<i128>


Try to turn data into i128.

This function returns an Option containing value if conversion is successful.