pub struct BranchPath {
pub dewey: AverStr,
}Expand description
BranchPath — opaque dewey-decimal identifier for a branch in the
structural tree of !/?! groups. In the VM/interpreter it is a
built-in record { dewey: String }; it surfaces in source only as
the first parameter of Oracle-proof stub functions
(oracle : (BranchPath, Int, args...) -> T). Those stub fns are
emitted by the Rust backend as ordinary (dead-at-runtime) functions
because module-level fns are emitted regardless of reachability, so
the type must be in scope for them to compile. It is never produced
or consumed by runtime code — only aver verify exercises the
Oracle laws — so the constructors here only need to compile.
Fields§
§dewey: AverStrImplementations§
Source§impl BranchPath
impl BranchPath
Trait Implementations§
Source§impl AverDisplay for BranchPath
impl AverDisplay for BranchPath
fn aver_display(&self) -> String
fn aver_display_inner(&self) -> String
Source§impl Clone for BranchPath
impl Clone for BranchPath
Source§fn clone(&self) -> BranchPath
fn clone(&self) -> BranchPath
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 BranchPath
impl Debug for BranchPath
impl Eq for BranchPath
Source§impl Hash for BranchPath
impl Hash for BranchPath
Source§impl Ord for BranchPath
impl Ord for BranchPath
Source§fn cmp(&self, other: &BranchPath) -> Ordering
fn cmp(&self, other: &BranchPath) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BranchPath
impl PartialEq for BranchPath
Source§fn eq(&self, other: &BranchPath) -> bool
fn eq(&self, other: &BranchPath) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BranchPath
impl PartialOrd for BranchPath
impl StructuralPartialEq for BranchPath
Auto Trait Implementations§
impl Freeze for BranchPath
impl RefUnwindSafe for BranchPath
impl Send for BranchPath
impl Sync for BranchPath
impl Unpin for BranchPath
impl UnsafeUnpin for BranchPath
impl UnwindSafe for BranchPath
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