Skip to content
ontologydriven
Sign out

Dictionary

Words, grammatical forms and meanings linked to the ontology.

turbofish en · NOUN

Pronunciation

  • /ˈtɝboʊˌfɪʃ/ (General-American)

Etymology

From turbo- + fish; coined by Anna Harren in 2015, originally in jest, later adopted by official documentation.

Meanings

  1. A syntactic element in Rust, ::<>, with arguments between < and >, that specifies the generic arguments of a function in an expression.
    • The turbofish operator in generic functions appears right after the function name and before the parenthesis. 2019 January 31, Rahul Sharma, Vesa Kaihlavirta, Mastering Rust, Packt Publishing Ltd, →ISBN, page 122:
    • You can add a turbofish to a function call with the syntax function::<Type>(). For example, collect::<Vec<MyType>>(). 2021 June 30, Herbert Wolverson, Hands-on Rust, Pragmatic Bookshelf, →ISBN:
    • For static method calls, you can supply the type parameter explicitly using the turbofish ::<> notation: 2017 November 21, Jim Blandy, Jason Orendorff, Programming Rust: Fast, Safe Systems Development, "O'Reilly Media, Inc.", →ISBN:

Forms

SpellingFeaturesLabelsSource
turbofishes Number=Plur lexicographic