toPascalCase

fnstring toPascalCase(string name) @safe pure nothrow

Converts a name to PascalCase (the type-name form).

Parameters

namethe input name.

Returns

the PascalCase name; CHAR2B -> Char2b,

wl_surface -> WlSurface, KeyPress -> KeyPress, WL_OUTPUT_TRANSFORM_90 -> WlOutputTransform90.