Struct salsa::DatabaseKeyIndex [−][src]
pub struct DatabaseKeyIndex { /* fields omitted */ }
Expand description
An integer that uniquely identifies a particular query instance within the database. Used to track dependencies between queries. Fully ordered and equatable but those orderings are arbitrary, and meant to be used only for inserting into maps and the like.
Implementations
Returns the index of the query group containing this key.
Returns the index of the query within its query group.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DatabaseKeyIndex
impl Send for DatabaseKeyIndex
impl Sync for DatabaseKeyIndex
impl Unpin for DatabaseKeyIndex
impl UnwindSafe for DatabaseKeyIndex
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.