Function |try_to_i16
std/conv::|try_to_i16
Usage
|try_to_i16<T>(value)
Generics
◻ T:
TryToI16
Parameters
↳ value:
T
Return
↴ Option<i16>
Try to turn data into i16
.
This function returns an Option
containing value if conversion is successful.