Function abi_stable::prefix_type::panic_on_missing_field_ty
source · pub fn panic_on_missing_field_ty<T>(
field_index: usize,
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.