vk::mem · Structs · C1
One allocation-relative cache range. Each allocation must own a mapping hold.
StRustExperimental
Stvk::mem::CacheRange
Contract
One allocation-relative cache range. Each allocation must own a mapping hold.
Fields
allocation
Field
allocation: &'a AllocationNo public source comment is attached to this declaration.
offset
Field
offset: u64No public source comment is attached to this declaration.
size
Field
size: u64No public source comment is attached to this declaration.
Methods and associated items
new
Method
Describe the whole allocation from byte zero without acquiring a mapping hold.
set_allocation
Method
Set allocation and return the updated record.
set_offset
Method
Set offset and return the updated record.
set_size
Method
Set size and return the updated record.
clone
Method
Returns a duplicate of the value. Read more