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: usizeNo public source comment is attached to this declaration.
block_bytes
Field
block_bytes: u64No public source comment is attached to this declaration.
Methods and associated items
new
Method
Construct the record with its default state.
set_block_count
Method
Set block_count and return the updated record.
set_block_bytes
Method
Set block_bytes and return the updated record.
clone
Method
Returns a duplicate of the value. Read more
fmt
Method
Formats the value using the given formatter. Read more
default
Method
Returns the “default value” for a type. Read more
eq
Method
Tests for
self and other values to be equal, and is used by ==.