pub struct ProofTraceSpec {
pub answer_key: String,
pub clause_id: String,
pub support_atoms: Vec<String>,
pub initial_weight: f64,
}Expand description
Input used to create one differentiable proof trace.
Fields§
§answer_key: StringStable answer key, for example root(case_1, primary_root).
clause_id: StringStable symbolic clause identifier.
support_atoms: Vec<String>Atoms supporting the proof path.
initial_weight: f64Initial symbolic clause weight.
Trait Implementations§
Source§impl Clone for ProofTraceSpec
impl Clone for ProofTraceSpec
Source§fn clone(&self) -> ProofTraceSpec
fn clone(&self) -> ProofTraceSpec
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 ProofTraceSpec
impl Debug for ProofTraceSpec
Source§impl PartialEq for ProofTraceSpec
impl PartialEq for ProofTraceSpec
Source§fn eq(&self, other: &ProofTraceSpec) -> bool
fn eq(&self, other: &ProofTraceSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProofTraceSpec
Auto Trait Implementations§
impl Freeze for ProofTraceSpec
impl RefUnwindSafe for ProofTraceSpec
impl Send for ProofTraceSpec
impl Sync for ProofTraceSpec
impl Unpin for ProofTraceSpec
impl UnsafeUnpin for ProofTraceSpec
impl UnwindSafe for ProofTraceSpec
Blanket Implementations§
impl<T> Allocation for T
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