pub fn vtable_struct(trait_name: &str, methods: &[Method]) -> FfiStruct
Expand description

FfiStruct for a callback/trait interface VTable

This struct has a FfiCallbackFunction field for each method, plus extra fields for special methods