pub enum EngineRootMotionProjectIntentCountV1 {
Exact {
count: u64,
},
NPlusOne,
}Expand description
A bounded exact count or the first witness beyond its domain cap.
For unmapped declarations, NPlusOne also records that declaration
traversal itself reached the first row beyond the bounded work window.
This is deliberately conservative: an ownerless tail cannot be treated as
a complete proof that no declaration exists without visiting that tail.
Variants§
Exact
The exact count was established within the relevant cap.
NPlusOne
Counting or bounded declaration traversal reached the first element after the relevant cap.
Implementations§
Source§impl EngineRootMotionProjectIntentCountV1
impl EngineRootMotionProjectIntentCountV1
Sourcepub fn exact(
count: usize,
limit: usize,
) -> Result<Self, PredictionContractError>
pub fn exact( count: usize, limit: usize, ) -> Result<Self, PredictionContractError>
Construct one exact bounded count.
Sourcepub const fn overflowed(self) -> bool
pub const fn overflowed(self) -> bool
Whether this count carries an N+1 overflow witness.
Trait Implementations§
Source§impl Clone for EngineRootMotionProjectIntentCountV1
impl Clone for EngineRootMotionProjectIntentCountV1
Source§fn clone(&self) -> EngineRootMotionProjectIntentCountV1
fn clone(&self) -> EngineRootMotionProjectIntentCountV1
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 moreimpl Copy for EngineRootMotionProjectIntentCountV1
Source§impl<'de> Deserialize<'de> for EngineRootMotionProjectIntentCountV1
impl<'de> Deserialize<'de> for EngineRootMotionProjectIntentCountV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EngineRootMotionProjectIntentCountV1
impl StructuralPartialEq for EngineRootMotionProjectIntentCountV1
Auto Trait Implementations§
impl Freeze for EngineRootMotionProjectIntentCountV1
impl RefUnwindSafe for EngineRootMotionProjectIntentCountV1
impl Send for EngineRootMotionProjectIntentCountV1
impl Sync for EngineRootMotionProjectIntentCountV1
impl Unpin for EngineRootMotionProjectIntentCountV1
impl UnsafeUnpin for EngineRootMotionProjectIntentCountV1
impl UnwindSafe for EngineRootMotionProjectIntentCountV1
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