pub struct SequenceBackingSnapshot<R>where
R: DeviceRuntime,{ /* private fields */ }Expand description
Immutable sequence-lifetime backing captured by one scheduler step. Later generations may append capacity, while an in-flight step retains the exact generation it submitted until its completion ownership is released.
Implementations§
Source§impl<R> SequenceBackingSnapshot<R>where
R: DeviceRuntime,
impl<R> SequenceBackingSnapshot<R>where
R: DeviceRuntime,
pub const fn generation(&self) -> SequenceBackingGeneration
pub fn backing_slices(&self) -> &[LogicalBackingSliceAuthority]
pub const fn committed_tokens(&self) -> u64
pub const fn committed_pages(&self) -> u64
Auto Trait Implementations§
impl<R> !RefUnwindSafe for SequenceBackingSnapshot<R>
impl<R> !UnwindSafe for SequenceBackingSnapshot<R>
impl<R> Freeze for SequenceBackingSnapshot<R>
impl<R> Send for SequenceBackingSnapshot<R>
impl<R> Sync for SequenceBackingSnapshot<R>
impl<R> Unpin for SequenceBackingSnapshot<R>
impl<R> UnsafeUnpin for SequenceBackingSnapshot<R>where
Arc<SequenceLogicalOwner<R>>: UnsafeUnpin,
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