pub fn get_convention(name: CaseName) -> Box<dyn Convention>Expand description
The function get_convention returns a boxed trait object based on the given CaseName enum
variant.
Arguments:
name: Thenameparameter is of typeCaseName. It is an enum that represents different naming conventions. The possible values forCaseNameare:
Returns:
The function get_convention returns a boxed trait object that implements the Convention trait.
The specific implementation returned depends on the CaseName enum variant passed as an argument.