Struct vk_mem_alloc::DefragmentationStats
source · [−]#[repr(C)]pub struct DefragmentationStats {
pub bytes_moved: DeviceSize,
pub bytes_freed: DeviceSize,
pub allocations_moved: u32,
pub device_memory_blocks_freed: u32,
}Fields
bytes_moved: DeviceSizebytes_freed: DeviceSizeallocations_moved: u32device_memory_blocks_freed: u32Trait Implementations
sourceimpl Clone for DefragmentationStats
impl Clone for DefragmentationStats
sourcefn clone(&self) -> DefragmentationStats
fn clone(&self) -> DefragmentationStats
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DefragmentationStats
impl Debug for DefragmentationStats
sourceimpl Default for DefragmentationStats
impl Default for DefragmentationStats
sourcefn default() -> DefragmentationStats
fn default() -> DefragmentationStats
Returns the “default value” for a type. Read more
impl Copy for DefragmentationStats
Auto Trait Implementations
impl RefUnwindSafe for DefragmentationStats
impl Send for DefragmentationStats
impl Sync for DefragmentationStats
impl Unpin for DefragmentationStats
impl UnwindSafe for DefragmentationStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more