pub enum FactRelevance {
ThisTurn,
Background,
}Expand description
Whether a fact is about the turn in hand or about the room it happens in.
Every record open in the account has outstanding fields, and the writer needs to know
them, but only the ones of the case the turn is about are what it asks next. A mark,
not a filter: the writing stage asks for the first open obligation, so
Self::ThisTurn sorts first and the order is load-bearing.
Variants§
ThisTurn
About a case the turn engaged, so it is what the reply is answering.
The default, because it is what every fact was taken to be before the distinction existed, including in records written then.
Background
True of the account, and not what this turn is about.
Implementations§
Source§impl FactRelevance
impl FactRelevance
Sourcepub const fn is_this_turn(self) -> bool
pub const fn is_this_turn(self) -> bool
Whether this is a fact about the turn in hand.
Trait Implementations§
Source§impl Clone for FactRelevance
impl Clone for FactRelevance
impl Copy for FactRelevance
Source§impl Debug for FactRelevance
impl Debug for FactRelevance
Source§impl Default for FactRelevance
impl Default for FactRelevance
Source§impl<'de> Deserialize<'de> for FactRelevance
impl<'de> Deserialize<'de> for FactRelevance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FactRelevance
Source§impl Hash for FactRelevance
impl Hash for FactRelevance
Source§impl PartialEq for FactRelevance
impl PartialEq for FactRelevance
Source§impl Serialize for FactRelevance
impl Serialize for FactRelevance
impl StructuralPartialEq for FactRelevance
Auto Trait Implementations§
impl Freeze for FactRelevance
impl RefUnwindSafe for FactRelevance
impl Send for FactRelevance
impl Sync for FactRelevance
impl Unpin for FactRelevance
impl UnsafeUnpin for FactRelevance
impl UnwindSafe for FactRelevance
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
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.