pub struct FactKey {
pub hash: u64,
}Expand description
Key for fact deduplication
Fields§
§hash: u64Simplified fact representation for hashing
Implementations§
Source§impl FactKey
impl FactKey
Sourcepub fn from_facts(facts: &TypedFacts) -> Self
pub fn from_facts(facts: &TypedFacts) -> Self
Create fact key from TypedFacts
Trait Implementations§
impl Eq for FactKey
impl StructuralPartialEq for FactKey
Auto Trait Implementations§
impl Freeze for FactKey
impl RefUnwindSafe for FactKey
impl Send for FactKey
impl Sync for FactKey
impl Unpin for FactKey
impl UnwindSafe for FactKey
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,
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