We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extern "C"
Clone
This should compile. It used to compile without deriving Clone, and it currently compiles if extern "C" is removed.
#[derive(Copy, Clone)] struct Functions { pub foo: extern "C" fn(u32) -> u32, } fn main() { }