pub struct BarrierSnapshotScratch { /* private fields */ }Expand description
Caller-owned reusable station snapshot slots for frozen barrier exports.
Implementations§
Source§impl BarrierSnapshotScratch
impl BarrierSnapshotScratch
Sourcepub fn reserve(&mut self, stations: usize, entities_per_station: usize)
pub fn reserve(&mut self, stations: usize, entities_per_station: usize)
Reserves Station slots and per-Station entity capacity.
Sourcepub fn retained_snapshot_slots(&self) -> usize
pub fn retained_snapshot_slots(&self) -> usize
Snapshot slots retained across exports.
Sourcepub fn retained_entity_capacity(&self) -> usize
pub fn retained_entity_capacity(&self) -> usize
Total entity capacity retained across Station snapshot slots.
Trait Implementations§
Source§impl Clone for BarrierSnapshotScratch
impl Clone for BarrierSnapshotScratch
Source§fn clone(&self) -> BarrierSnapshotScratch
fn clone(&self) -> BarrierSnapshotScratch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BarrierSnapshotScratch
impl Debug for BarrierSnapshotScratch
Source§impl Default for BarrierSnapshotScratch
impl Default for BarrierSnapshotScratch
Source§fn default() -> BarrierSnapshotScratch
fn default() -> BarrierSnapshotScratch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BarrierSnapshotScratch
impl RefUnwindSafe for BarrierSnapshotScratch
impl Send for BarrierSnapshotScratch
impl Sync for BarrierSnapshotScratch
impl Unpin for BarrierSnapshotScratch
impl UnsafeUnpin for BarrierSnapshotScratch
impl UnwindSafe for BarrierSnapshotScratch
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