fn unmap(&self) {
        if self.keep_mapped {
            return;
        }

        if self.allocation_info.pMappedData == ptr::null_mut() {
            panic_with_log!("Trying to unmap a staging buffer which was not mapped previously.");
        }

        self.vd.vma_unmap_memory(self.allocation);
    }
/// Unmap memory region.
///
/// It's dangerous to call this function without checking if it is already mapped.
Unmap memory region.
It's dangerous to call this function without checking if it is already mapped.
Unmap memory region . It ' s dangerous to call this function without checking if it is already mapped .
fn unmap(&self) {
        if self.keep_mapped {
            return;
        }
        if self.allocation_info.pMappedData == ptr::null_mut() {
            panic_with_log!("Trying to unmap a staging buffer which was not mapped previously.");
        }
        self.vd.vma_unmap_memory(self.allocation);
    }
fn unmap ( & self ) { if self . keep_mapped { return ; } if self . allocation_info . pMappedData == ptr :: null_mut ( ) { panic_with_log ! ( " " ) ; } self . vd . vma_unmap_memory ( self . allocation ) ; }
Unmap memory region.
Unmap memory region .
&self
&self