pub struct CapOverflow {
pub dropped: usize,
pub context: OverflowContext,
pub cap: usize,
}Expand description
Reported when building a line scene’s geometry hit the segment cap and
truncated. The cap must never be a silent cut (ADR-0007 Risks), so it travels
to the frontend two ways: out of Scene::configure at preset load, and off
Scene::mirror_overflow for the per-frame mirror. None is the normal case
where geometry fit.
Fields§
§dropped: usizeHow many draw segments were dropped at the cap.
context: OverflowContextWhere the drop happened, for the surfaced message.
cap: usizeThe cap that bit, carried rather than read from a constant: it is a tier value now (Plan 0044), so the same preset overflows at 20 000 segments on the floor and not at all at 60 000 on rich. A message naming a cap the run was not using would be worse than no message.
Trait Implementations§
Source§impl Clone for CapOverflow
impl Clone for CapOverflow
Source§fn clone(&self) -> CapOverflow
fn clone(&self) -> CapOverflow
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 CapOverflow
impl Debug for CapOverflow
Source§impl Display for CapOverflow
impl Display for CapOverflow
Source§impl PartialEq for CapOverflow
impl PartialEq for CapOverflow
Source§fn eq(&self, other: &CapOverflow) -> bool
fn eq(&self, other: &CapOverflow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CapOverflow
impl Eq for CapOverflow
impl StructuralPartialEq for CapOverflow
Auto Trait Implementations§
impl Freeze for CapOverflow
impl RefUnwindSafe for CapOverflow
impl Send for CapOverflow
impl Sync for CapOverflow
impl Unpin for CapOverflow
impl UnsafeUnpin for CapOverflow
impl UnwindSafe for CapOverflow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.