pub struct EVAOrder;Expand description
Key schema ordering: Entity → Value → Attribute.
Trait Implementations§
Source§impl KeySchema<TRIBLE_LEN> for EVAOrder
impl KeySchema<TRIBLE_LEN> for EVAOrder
Source§const SEGMENT_PERM: &'static [usize]
const SEGMENT_PERM: &'static [usize]
Order of segments from key layout to tree layout.
Source§const KEY_TO_TREE: [usize; 64]
const KEY_TO_TREE: [usize; 64]
Maps each key index to its position in the tree view.
Source§const TREE_TO_KEY: [usize; 64]
const TREE_TO_KEY: [usize; 64]
Maps each tree index to its position in the key view.
Source§type Segmentation = TribleSegmentation
type Segmentation = TribleSegmentation
The segmentation this ordering operates over.
Source§fn tree_ordered(key: &[u8; KEY_LEN]) -> [u8; KEY_LEN]
fn tree_ordered(key: &[u8; KEY_LEN]) -> [u8; KEY_LEN]
Reorders the key from the shared key ordering to the tree ordering.
Source§fn key_ordered(tree_key: &[u8; KEY_LEN]) -> [u8; KEY_LEN]
fn key_ordered(tree_key: &[u8; KEY_LEN]) -> [u8; KEY_LEN]
Reorders the key from the tree ordering to the shared key ordering.
impl Copy for EVAOrder
Auto Trait Implementations§
impl Freeze for EVAOrder
impl RefUnwindSafe for EVAOrder
impl Send for EVAOrder
impl Sync for EVAOrder
impl Unpin for EVAOrder
impl UnsafeUnpin for EVAOrder
impl UnwindSafe for EVAOrder
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> 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