Function abi_stable::prefix_type::panic_on_missing_fieldname
source · pub fn panic_on_missing_fieldname<T>(
field_index: u8,
actual_layout: &'static PTStructLayout
) -> !where
T: PrefixTypeTrait,
Expand description
Used to panic with an error message informing the user that a field
is expected to be on the T
type when it’s not.