Struct glfw::DebugAliases
[−]
[src]
pub struct DebugAliases<T>(pub T);
Formats the type using aliases rather than the default variant names.
Example
assert_eq(format!("{}", glfw::MouseButtonLeft), "MouseButton1"); assert_eq(format!("{}", glfw::DebugAliases(glfw::MouseButtonLeft)), "MouseButtonLeft");