pub struct IndexKey {
pub source: SourceId,
pub index: IndexId,
}Fields§
§source: SourceId§index: IndexIdImplementations§
Source§impl IndexKey
impl IndexKey
pub fn encoded( source: impl Into<SourceId>, index: impl Into<IndexId>, ) -> EncodedKey
pub fn full_scan(source: impl Into<SourceId>) -> EncodedKeyRange
pub fn source_start(source: impl Into<SourceId>) -> EncodedKey
pub fn source_end(source: impl Into<SourceId>) -> EncodedKey
Trait Implementations§
Source§impl EncodableKey for IndexKey
impl EncodableKey for IndexKey
impl StructuralPartialEq for IndexKey
Auto Trait Implementations§
impl Freeze for IndexKey
impl RefUnwindSafe for IndexKey
impl Send for IndexKey
impl Sync for IndexKey
impl Unpin for IndexKey
impl UnwindSafe for IndexKey
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