Trait hotshot_macros::ToLowerSnakeStr

source ·
pub(crate) trait ToLowerSnakeStr {
    // Required method
    fn to_lower_snake_str(&self) -> String;
}
Expand description

trait make a string lower and snake case

Required Methods§

source

fn to_lower_snake_str(&self) -> String

make a lower and snake case string

Implementations on Foreign Types§

source§

impl ToLowerSnakeStr for GenericArgument

source§

fn to_lower_snake_str(&self) -> String

allow panic because this is a compiler error

source§

impl ToLowerSnakeStr for ExprPath

source§

impl ToLowerSnakeStr for ExprTuple

source§

fn to_lower_snake_str(&self) -> String

allow panic because this is a compiler error

source§

impl ToLowerSnakeStr for TypePath

Implementors§