get_field_struct

Function get_field_struct 

Source
pub unsafe fn get_field_struct<'a>(
    table: &Table<'a>,
    field: &Field<'_>,
) -> FlatbufferResult<Option<Struct<'a>>>
Expand description

Gets a Struct table field given its exact type. Returns None if the field is not set. Returns error if the type doesn’t match.

§Safety

The value of the corresponding slot must have type Struct