pub trait FromWithPH<T, CTP: ConnectionToPlugin>: Sized {
// Required method
fn from_with_ph(value: T, ph: &mut PluginHandler<CTP>) -> Self;
}
Expand description
A trait allowing converting an host-implementation type to a T
one, possibly
with the help of the PluginHandler
if some information should not be directly
accessible to the plugins.
Required Methods§
fn from_with_ph(value: T, ph: &mut PluginHandler<CTP>) -> Self
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.