Type Definition abi_stable::prefix_type::WithMetadata [−][src]
pub type WithMetadata<T, P = <T as PrefixTypeTrait>::PrefixFields> = WithMetadata_<T, P>;
Expand description
Alias for WithMetadata_
that defaults to passing <T as PrefixTypeTrait>::PrefixFields
as the second type parameter.
WithMetadata_
can’t have that defaulted type parameter,
because trait bounds are incompatible with having const fn
methods.