get_any_field_integer

Function get_any_field_integer 

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

Returns the value of any table field as a 64-bit int, regardless of what type it is. Returns default integer if the field is not set or error if the value cannot be parsed as integer. num_traits is used for number casting.

ยงSafety

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