pub struct InstanceBuffer { /* private fields */ }Expand description
Fixed-capacity instance list rebuilt every frame without allocating.
Pushing past capacity drops the instance and counts it, so an undersized buffer is visible in metrics instead of silently growing (and allocating) on the hot path.
Implementations§
Source§impl InstanceBuffer
impl InstanceBuffer
Trait Implementations§
Source§impl Clone for InstanceBuffer
impl Clone for InstanceBuffer
Auto Trait Implementations§
impl Freeze for InstanceBuffer
impl RefUnwindSafe for InstanceBuffer
impl Send for InstanceBuffer
impl Sync for InstanceBuffer
impl Unpin for InstanceBuffer
impl UnsafeUnpin for InstanceBuffer
impl UnwindSafe for InstanceBuffer
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