Struct vello::BumpAllocators
source · #[repr(C)]pub struct BumpAllocators {
pub failed: u32,
pub binning: u32,
pub ptcl: u32,
pub tile: u32,
pub seg_counts: u32,
pub segments: u32,
pub blend: u32,
pub lines: u32,
}
Expand description
Temporary export, used in with_winit
for stats
Counters for tracking dynamic allocation on the GPU.
This must be kept in sync with the struct in shader/shared/bump.wgsl
Fields§
§failed: u32
§binning: u32
§ptcl: u32
§tile: u32
§seg_counts: u32
§segments: u32
§blend: u32
§lines: u32
Trait Implementations§
source§impl Clone for BumpAllocators
impl Clone for BumpAllocators
source§fn clone(&self) -> BumpAllocators
fn clone(&self) -> BumpAllocators
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BumpAllocators
impl Debug for BumpAllocators
source§impl Default for BumpAllocators
impl Default for BumpAllocators
source§fn default() -> BumpAllocators
fn default() -> BumpAllocators
Returns the “default value” for a type. Read more
impl Copy for BumpAllocators
impl Pod for BumpAllocators
Auto Trait Implementations§
impl RefUnwindSafe for BumpAllocators
impl Send for BumpAllocators
impl Sync for BumpAllocators
impl Unpin for BumpAllocators
impl UnwindSafe for BumpAllocators
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.