Module bevy_datasize::estimator [−][src]
Expand description
Heap size estimators.
Structs
A DataSizeEstimator
that simply forwards to a type’s implementation of
DataSize
.
A DataSizeEstimator
that multiplies a type’s stack size by the length of
a slice.
A DataSizeEstimator
that simply returns 0
.
Traits
Indicates that a type can estimate the heap usage of values of type T
.
Creates Self
using data from the given MemoryConfig
.