Glossary: Coding Interviews in Rust
Function pointer
Also written: fn pointer, fn(&[i32], i32) -> usize
A function's name passed in as a value. The brute-force checker's `compare` takes the fast function this way and calls it on many inputs.
Glossary: Coding Interviews in Rust
Also written: fn pointer, fn(&[i32], i32) -> usize
A function's name passed in as a value. The brute-force checker's `compare` takes the fast function this way and calls it on many inputs.