Skip to main content

screaming

Macro screaming 

Source
macro_rules! screaming {
    ($ident:expr => ident) => { ... };
    ($s:expr) => { ... };
}
Expand description

Converts a string or ident to SCREAMING_SNAKE_CASE.

  • screaming!("HelloWorld")"HELLO_WORLD" (String)
  • screaming!(ident => ident) → SCREAMING_SNAKE_CASE syn::Ident