pub struct LawKey {
pub fn_key: FnKey,
pub law_name: String,
}Expand description
Canonical identity for a verify-law theorem. Targets a fn by
FnKey; the law_name is local to that fn (Aver’s
verify <fn> law <law_name> syntax — names only collide within
one fn’s verify block).
Fields§
§fn_key: FnKey§law_name: StringImplementations§
Trait Implementations§
impl Eq for LawKey
impl StructuralPartialEq for LawKey
Auto Trait Implementations§
impl Freeze for LawKey
impl RefUnwindSafe for LawKey
impl Send for LawKey
impl Sync for LawKey
impl Unpin for LawKey
impl UnsafeUnpin for LawKey
impl UnwindSafe for LawKey
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.