datatypes::types::boolean_type

Function bool_to_numeric

Source
pub fn bool_to_numeric<T>(value: bool) -> Option<T>
where T: Num,