Rust: Bring a Trait Into Scope Without Bringing Its Name Into Scope

Rating: 6

You can use the syntax use path::to::Trait as _ to bring a trait into scope (so you can call its methods) without also bringing the name into scope. Handy in cases where two traits have the same name for example.

More Info