Function is_packed_field_indexable

Source
pub fn is_packed_field_indexable<P: PackedField>() -> bool
Expand description

Check if P implements PackedFieldIndexable. This functions gets optimized out by the compiler so if it is used in a generic context as an if condition, the non-meaningful branch will be optimized out.