[][src]Trait surfman_chains_api::SwapChainsAPI

pub trait SwapChainsAPI<SwapChainID>: 'static + Clone + Send {
    type Surface;
    type SwapChain: SwapChainAPI<Surface = Self::Surface>;
    fn get(&self, id: SwapChainID) -> Option<Self::SwapChain>;
}

The consumer's view of a collection of swap chains

Associated Types

type Surface

type SwapChain: SwapChainAPI<Surface = Self::Surface>

Loading content...

Required methods

fn get(&self, id: SwapChainID) -> Option<Self::SwapChain>

Get a swap chain

Loading content...

Implementors

Loading content...