pub trait SwapChainsAPI<SwapChainID>:
'static
+ Clone
+ Send {
type Surface;
type SwapChain: SwapChainAPI<Surface = Self::Surface>;
// Required method
fn get(&self, id: SwapChainID) -> Option<Self::SwapChain>;
}Expand description
The consumer’s view of a collection of swap chains
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".