HomeServicesBlogDictionariesContactSpanish Course
← Back to search

Meaning of turbofish | Babel Free

Noun CEFR B2
/ˈtɝboʊˌfɪʃ/

Definitions

A syntactic element in Rust, ::<>, with arguments between < and >, that specifies the generic arguments of a function in an expression.

Examples

“For static method calls, you can supply the type parameter explicitly using the turbofish ::<> notation:”
“The turbofish operator in generic functions appears right after the function name and before the parenthesis.”
“You can add a turbofish to a function call with the syntax function::<Type>(). For example, collect::<Vec<MyType>>().”

CEFR level

B2
Upper Intermediate
This word is part of the CEFR B2 vocabulary — upper intermediate level.

See also

Learn this word in context

See turbofish used in real conversations inside our free language course.

Start Free Course