Meaning of turbofish | Babel Free
ˈ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.
This word is part of the CEFR B2 vocabulary — upper intermediate level.
Know this word better than we do? Language is a living thing — help us keep it growing. Collaborate with Babel Free