pub struct BufferAllocations { /* private fields */ }Implementations§
Source§impl BufferAllocations
impl BufferAllocations
pub unsafe fn allocate( physical_device: &PhysicalDevice, device: &Device, buffers: &[Buffer], buffer_create_infos: &[BufferCreateInfo], property_flags: impl Into<MemoryPropertyFlags> + Copy, ) -> Result<Self>
pub unsafe fn free(self, device: &Device)
pub fn allocations(&self) -> &[BufferAllocation]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BufferAllocations
impl RefUnwindSafe for BufferAllocations
impl !Send for BufferAllocations
impl !Sync for BufferAllocations
impl Unpin for BufferAllocations
impl UnwindSafe for BufferAllocations
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more