vk::mem · Structs · B1
1 public declaration with native signatures and source-owned contracts.
StRustExperimental
Stvk::mem::BudgetSnapshot
Fields
source
Field
source: BudgetSourceNo public source comment is attached to this declaration.
heap_count
Field
heap_count: u32No public source comment is attached to this declaration.
heaps
Field
heaps: [HeapBudget; 16]No public source comment is attached to this declaration.
Methods and associated items
new
Method
Construct the record with its default state.
set_source
Method
Set source and return the updated record.
set_heap_count
Method
Set heap_count and return the updated record.
set_heaps
Method
Set heaps 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 ==.