[][src]Trait surfman_chains::SwapChainsAPI

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

The consumer's view of a collection of swap chains

Associated Types

Loading content...

Required methods

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

Get a swap chain

Loading content...

Implementors

impl<SwapChainID, Device> SwapChainsAPI<SwapChainID> for SwapChains<SwapChainID, Device> where
    SwapChainID: 'static + Clone + Eq + Hash + Debug + Sync + Send,
    Device: 'static + DeviceAPI,
    Device::Surface: Send
[src]

type Surface = Device::Surface

type SwapChain = SwapChain<Device>

fn get(&self, id: SwapChainID) -> Option<SwapChain<Device>>[src]

Get a swap chain

Loading content...