Struct smithay_client_toolkit::utils::DoubleMemPool[][src]

pub struct DoubleMemPool { /* fields omitted */ }

A Double memory pool, for convenient double-buffering

This type wraps two internal memory pool, and can be use for conveniently implementing double-buffering in your apps.

Just access the current drawing pool with the pool() method, and swap them using the swap() method between two frames.

Methods

impl DoubleMemPool
[src]

Create a double memory pool

Important traits for MemPool

Access the current drawing pool

Swap the pool

Auto Trait Implementations