get_any_field_float

Function get_any_field_float 

Source
pub unsafe fn get_any_field_float(
    table: &Table<'_>,
    field: &Field<'_>,
) -> FlatbufferResult<f64>
Expand description

Returns the value of any table field as a 64-bit floating point, regardless of what type it is. Returns default float if the field is not set or error if the value cannot be parsed as float.

ยงSafety

[table] must contain recursively valid offsets that match the [field].