get_field_struct_in_struct

Function get_field_struct_in_struct 

Source
pub unsafe fn get_field_struct_in_struct<'a>(
    st: &Struct<'a>,
    field: &Field<'_>,
) -> FlatbufferResult<Struct<'a>>
Expand description

Gets a Struct struct field given its exact type. Returns error if the type doesn’t match.

§Safety

The value of the corresponding slot must have type Struct.