Function |try_to_char

std/conv::|try_to_char


Usage

|try_to_char<T>(value)

Generics

◻ T: TryToChar

Parameters

↳ value: T

Return

↴ Option<char>


Try to turn data into char.

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