Trait surfman_chains::SwapChainsAPI[][src]

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

The consumer’s view of a collection of swap chains

Associated Types

Loading content...

Required methods

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

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...