pub struct IndexKey { /* private fields */ }Expand description
IndexKey (FIXED-SIZE, MANUAL)
Implementations§
Source§impl IndexKey
impl IndexKey
pub const STORED_SIZE: u32
pub fn new<E: EntityKind>(entity: &E, index: &IndexModel) -> Option<Self>
pub const fn empty(index_id: IndexId) -> Self
pub fn bounds_for_prefix( index_id: IndexId, index_len: usize, prefix: &[[u8; 16]], ) -> (Self, Self)
pub fn to_raw(&self) -> RawIndexKey
pub fn try_from_raw(raw: &RawIndexKey) -> Result<Self, &'static str>
Trait Implementations§
Source§impl Ord for IndexKey
impl Ord for IndexKey
Source§impl PartialOrd for IndexKey
impl PartialOrd for IndexKey
impl Eq 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 UnsafeUnpin 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