pub fn get_by_alias_from<'defs>(
variants: &'defs VariantDefTop,
alias: &str,
) -> Result<&'defs Variant, VariantError>Expand description
Get the variant with the specified builder alias from the supplied data.
ยงErrors
May fail if the argument does not specify a recognized variant builder alias.