15 lines
269 B
Rust
15 lines
269 B
Rust
use crate::vma_bindings::*;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub struct AllocatorPool {
|
|
pool: VmaPool,
|
|
}
|
|
|
|
unsafe impl Send for AllocatorPool {}
|
|
unsafe impl Sync for AllocatorPool {}
|
|
|
|
impl AllocatorPool {
|
|
pub(crate) fn pool(&self) -> VmaPool {
|
|
self.pool
|
|
}
|
|
}
|