pub trait PortPointerCache: Sized + Default {
// Required method
fn connect(&mut self, index: u32, pointer: *mut c_void);
}
Expand description
Cache for port connection pointers.
The host will pass the port connection pointers one by one and in an undefined order. Therefore, the PortCollection
struct can not be created instantly. Instead, the pointers will be stored in a cache, which is then used to create a proper port collection for the plugin.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.