#[non_exhaustive]pub struct AcquireTally {
pub acquired: usize,
pub skipped_no_frame: usize,
}Expand description
Accounting for one build pass’s acquire loop.
Separated so the EAGAIN rule is testable on its own: a source with nothing to contribute is skipped, counted, and retried next frame — it is not a failure, and it must not abort the commit.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.acquired: usizeLayers that produced a buffer.
skipped_no_frame: usizeLayers whose source reported WouldBlock.
Implementations§
Source§impl AcquireTally
impl AcquireTally
Trait Implementations§
Source§impl Clone for AcquireTally
impl Clone for AcquireTally
impl Copy for AcquireTally
Source§impl Debug for AcquireTally
impl Debug for AcquireTally
Source§impl Default for AcquireTally
impl Default for AcquireTally
impl Eq for AcquireTally
Source§impl PartialEq for AcquireTally
impl PartialEq for AcquireTally
impl StructuralPartialEq for AcquireTally
Auto Trait Implementations§
impl Freeze for AcquireTally
impl RefUnwindSafe for AcquireTally
impl Send for AcquireTally
impl Sync for AcquireTally
impl Unpin for AcquireTally
impl UnsafeUnpin for AcquireTally
impl UnwindSafe for AcquireTally
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