Trait InterfaceType
pub trait InterfaceType {
type Input;
type Output;
type Interface: Interface<Self::Input, Self::Output> + ?Sized;
// Required method
fn interface(&mut self) -> &mut Self::Interface;
}Expand description
An InterfaceType
Just placeholders
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".