pub struct LinearQuantityEvidence { /* private fields */ }Expand description
A measured linear quantity with the evidence that supports it.
Implementations§
Source§impl LinearQuantityEvidence
impl LinearQuantityEvidence
Sourcepub fn try_new(
request: LinearQuantityRequest,
measured: LinearInterval,
evidence: Evidence,
) -> Result<Self, LinearQuantityError>
pub fn try_new( request: LinearQuantityRequest, measured: LinearInterval, evidence: Evidence, ) -> Result<Self, LinearQuantityError>
Rejects evidence that is not exact and reviewable, so an adapter cannot launder an estimate into the engine as fact.
pub fn request(&self) -> &LinearQuantityRequest
pub fn measured(&self) -> LinearInterval
pub fn evidence(&self) -> &Evidence
Trait Implementations§
Source§impl Clone for LinearQuantityEvidence
impl Clone for LinearQuantityEvidence
Source§fn clone(&self) -> LinearQuantityEvidence
fn clone(&self) -> LinearQuantityEvidence
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 LinearQuantityEvidence
impl Debug for LinearQuantityEvidence
Source§impl PartialEq for LinearQuantityEvidence
impl PartialEq for LinearQuantityEvidence
impl StructuralPartialEq for LinearQuantityEvidence
Auto Trait Implementations§
impl Freeze for LinearQuantityEvidence
impl RefUnwindSafe for LinearQuantityEvidence
impl Send for LinearQuantityEvidence
impl Sync for LinearQuantityEvidence
impl Unpin for LinearQuantityEvidence
impl UnsafeUnpin for LinearQuantityEvidence
impl UnwindSafe for LinearQuantityEvidence
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