Struct smithay_client_toolkit::shm::DoubleMemPool [−][src]
pub struct DoubleMemPool { /* fields omitted */ }
Expand description
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.
DoubleMemPool requires a implementation that is called when
one of the two internal memory pools becomes free after None
was returned from the pool()
method.
Implementations
Create a double memory pool