macro_rules! camel {
($ident:expr => ident) => { ... };
($s:expr) => { ... };
}Expand description
Converts a string or ident to camelCase.
camel!("hello_world")→"helloWorld"(String)camel!(ident => ident)→ camelCasesyn::Ident
macro_rules! camel {
($ident:expr => ident) => { ... };
($s:expr) => { ... };
}Converts a string or ident to camelCase.
camel!("hello_world") → "helloWorld" (String)camel!(ident => ident) → camelCase syn::Ident