pub struct SafetyConditionDomainIndex { /* private fields */ }Expand description
Precomputed source-domain evidence shared by every operation in one delta.
Construction walks the target subtype graph once and propagates every source-declared type to its target supertypes. Per-operation condition-free checks are then bounded map lookups rather than repeated graph traversals.
Implementations§
Source§impl SafetyConditionDomainIndex
impl SafetyConditionDomainIndex
Sourcepub fn new(source: &DeclaredSchema, target: &DeclaredSchema) -> Self
pub fn new(source: &DeclaredSchema, target: &DeclaredSchema) -> Self
Bind one reusable proof index to exact source and target declarations.
Trait Implementations§
Source§impl Clone for SafetyConditionDomainIndex
impl Clone for SafetyConditionDomainIndex
Source§fn clone(&self) -> SafetyConditionDomainIndex
fn clone(&self) -> SafetyConditionDomainIndex
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 SafetyConditionDomainIndex
impl Debug for SafetyConditionDomainIndex
impl Eq for SafetyConditionDomainIndex
impl StructuralPartialEq for SafetyConditionDomainIndex
Auto Trait Implementations§
impl Freeze for SafetyConditionDomainIndex
impl RefUnwindSafe for SafetyConditionDomainIndex
impl Send for SafetyConditionDomainIndex
impl Sync for SafetyConditionDomainIndex
impl Unpin for SafetyConditionDomainIndex
impl UnsafeUnpin for SafetyConditionDomainIndex
impl UnwindSafe for SafetyConditionDomainIndex
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