pub struct IndexEntryKey {
pub shape: ShapeId,
pub index: IndexId,
pub key: EncodedIndexKey,
}Fields§
§shape: ShapeId§index: IndexId§key: EncodedIndexKeyImplementations§
Source§impl IndexEntryKey
impl IndexEntryKey
pub fn new( shape: impl Into<ShapeId>, index: IndexId, key: EncodedIndexKey, ) -> Self
pub fn encoded( shape: impl Into<ShapeId>, index: IndexId, key: EncodedIndexKey, ) -> EncodedKey
Source§impl IndexEntryKey
impl IndexEntryKey
pub fn index_range(shape: impl Into<ShapeId>, index: IndexId) -> EncodedKeyRange
pub fn shape_range(shape: impl Into<ShapeId>) -> EncodedKeyRange
pub fn key_prefix_range( shape: impl Into<ShapeId>, index: IndexId, key_prefix: &[u8], ) -> EncodedKeyRange
pub fn key_range( shape: impl Into<ShapeId>, index: IndexId, index_range: EncodedIndexKeyRange, ) -> EncodedKeyRange
Trait Implementations§
Source§impl Clone for IndexEntryKey
impl Clone for IndexEntryKey
Source§fn clone(&self) -> IndexEntryKey
fn clone(&self) -> IndexEntryKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexEntryKey
impl Debug for IndexEntryKey
Source§impl EncodableKey for IndexEntryKey
impl EncodableKey for IndexEntryKey
Source§impl PartialEq for IndexEntryKey
impl PartialEq for IndexEntryKey
Source§fn eq(&self, other: &IndexEntryKey) -> bool
fn eq(&self, other: &IndexEntryKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IndexEntryKey
Auto Trait Implementations§
impl Freeze for IndexEntryKey
impl RefUnwindSafe for IndexEntryKey
impl Send for IndexEntryKey
impl Sync for IndexEntryKey
impl Unpin for IndexEntryKey
impl UnsafeUnpin for IndexEntryKey
impl UnwindSafe for IndexEntryKey
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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