pub struct PostponeState {
pub count: u32,
pub max: u32,
pub remaining: u32,
}Expand description
Per-break postpone budget exposed to the renderer.
count is how many times the active break has been postponed so far,
max is the configured cap (or u32::MAX when escalation is off),
remaining is max - count saturated at zero.
Fields§
§count: u32§max: u32§remaining: u32Trait Implementations§
Source§impl Clone for PostponeState
impl Clone for PostponeState
Source§fn clone(&self) -> PostponeState
fn clone(&self) -> PostponeState
Returns a duplicate 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 PostponeState
impl Debug for PostponeState
Auto Trait Implementations§
impl Freeze for PostponeState
impl RefUnwindSafe for PostponeState
impl Send for PostponeState
impl Sync for PostponeState
impl Unpin for PostponeState
impl UnsafeUnpin for PostponeState
impl UnwindSafe for PostponeState
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