Struct vk_mem_alloc::Statistics
source · [−]#[repr(C)]pub struct Statistics {
pub block_count: u32,
pub allocation_count: u32,
pub block_bytes: DeviceSize,
pub allocation_bytes: DeviceSize,
}
Fields
block_count: u32
allocation_count: u32
block_bytes: DeviceSize
allocation_bytes: DeviceSize
Trait Implementations
sourceimpl Clone for Statistics
impl Clone for Statistics
sourcefn clone(&self) -> Statistics
fn clone(&self) -> Statistics
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 Statistics
impl Debug for Statistics
sourceimpl Default for Statistics
impl Default for Statistics
sourcefn default() -> Statistics
fn default() -> Statistics
Returns the “default value” for a type. Read more
impl Copy for Statistics
Auto Trait Implementations
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
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