pub struct Revision { /* private fields */ }
Expand description
A unique identifier for the current version of the database; each
time an input is changed, the revision number is incremented.
Revision
is used internally to track which values may need to be
recomputed, but is not something you should have to interact with
directly as a user of salsa.
Trait Implementations§
source§impl Ord for Revision
impl Ord for Revision
source§impl PartialEq for Revision
impl PartialEq for Revision
source§impl PartialOrd for Revision
impl PartialOrd for Revision
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Revision
impl Eq for Revision
impl StructuralEq for Revision
impl StructuralPartialEq for Revision
Auto Trait Implementations§
impl RefUnwindSafe for Revision
impl Send for Revision
impl Sync for Revision
impl Unpin for Revision
impl UnwindSafe for Revision
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.