Realm

vk::mem · Structs · T1

Native cache released by one explicit maintenance call. Live regions never move.

StRustExperimental

Stvk::mem::TrimStats

Contract

Native cache released by one explicit maintenance call. Live regions never move.

Fields

block_count

Field
block_count: usize
No public source comment is attached to this declaration.

block_bytes

Field
block_bytes: u64
No public source comment is attached to this declaration.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default state.

set_block_count

Method
pub fn set_block_count(self, value: usize) -> Self

Set block_count and return the updated record.

set_block_bytes

Method
pub fn set_block_bytes(self, value: u64) -> Self

Set block_bytes and return the updated record.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

eq

Method
fn eq(&self, other: &TrimStats) -> bool
Tests for self and other values to be equal, and is used by ==.