#[non_exhaustive]pub enum BeliefWrite {
Inserted,
Replaced,
Unchanged,
}Expand description
Result of adding evidence to a Bayesian belief.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Inserted
A new evidence identifier was added.
Replaced
Existing likelihoods for the evidence identifier were replaced.
Unchanged
The same evidence and likelihoods were already present.
Trait Implementations§
Source§impl Clone for BeliefWrite
impl Clone for BeliefWrite
Source§fn clone(&self) -> BeliefWrite
fn clone(&self) -> BeliefWrite
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 moreimpl Copy for BeliefWrite
Source§impl Debug for BeliefWrite
impl Debug for BeliefWrite
impl Eq for BeliefWrite
Source§impl PartialEq for BeliefWrite
impl PartialEq for BeliefWrite
impl StructuralPartialEq for BeliefWrite
Auto Trait Implementations§
impl Freeze for BeliefWrite
impl RefUnwindSafe for BeliefWrite
impl Send for BeliefWrite
impl Sync for BeliefWrite
impl Unpin for BeliefWrite
impl UnsafeUnpin for BeliefWrite
impl UnwindSafe for BeliefWrite
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.