pub struct UncertaintyRecord { /* private fields */ }Expand description
Immutable fixed-size declaration bound to one existing FIEL/MID2 field.
Implementations§
Source§impl UncertaintyRecord
impl UncertaintyRecord
pub fn new( record_id: u64, field: PhysicalFieldSemantics, estimate: UncertaintyEstimate, method: Option<MethodVersion>, evidence_citation_id: Option<u64>, ) -> Result<Self, UncertaintyError>
Sourcepub fn from_projection_axis(
record_id: u64,
projection: &MappedProjection,
axis_index: usize,
axis_unit_id: SemanticId,
method: Option<MethodVersion>,
evidence_citation_id: Option<u64>,
) -> Result<Self, UncertaintyError>
pub fn from_projection_axis( record_id: u64, projection: &MappedProjection, axis_index: usize, axis_unit_id: SemanticId, method: Option<MethodVersion>, evidence_citation_id: Option<u64>, ) -> Result<Self, UncertaintyError>
Convert an already-propagated projection axis uncertainty. The caller must supply the axis unit because Tensor10D profile/domain/convention declarations do not define a unit conversion by themselves.
pub const fn record_id(self) -> u64
pub const fn field(self) -> PhysicalFieldSemantics
pub const fn scope(self) -> UncertaintyScope
pub const fn estimate(self) -> UncertaintyEstimate
pub const fn method(self) -> Option<MethodVersion>
pub const fn evidence(self) -> Option<EvidenceReference>
Sourcepub fn write_quins(&self, out: &mut [NQuin]) -> Result<usize, UncertaintyError>
pub fn write_quins(&self, out: &mut [NQuin]) -> Result<usize, UncertaintyError>
Export this declaration as a bounded graph of Quins. Every row uses
metadata=0 and the existing five-field NQuin::calculate_parity ABI.
Predicates are proposed q_hash vocabulary terms, not yet registered
universal terms. Unknown optional values get explicit state rows.
Trait Implementations§
Source§impl Clone for UncertaintyRecord
impl Clone for UncertaintyRecord
impl Copy for UncertaintyRecord
Source§impl Debug for UncertaintyRecord
impl Debug for UncertaintyRecord
Source§impl PartialEq for UncertaintyRecord
impl PartialEq for UncertaintyRecord
impl StructuralPartialEq for UncertaintyRecord
Auto Trait Implementations§
impl Freeze for UncertaintyRecord
impl RefUnwindSafe for UncertaintyRecord
impl Send for UncertaintyRecord
impl Sync for UncertaintyRecord
impl Unpin for UncertaintyRecord
impl UnsafeUnpin for UncertaintyRecord
impl UnwindSafe for UncertaintyRecord
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more