pub enum ScoreKey {
Natural,
Desc,
Asc,
}Expand description
How to order the ids returned by ViewportIndex::query.
Variants§
Natural
Tree-traversal order. Cheapest; caller shouldn’t rely on any particular ordering.
Desc
Highest score first.
Asc
Lowest score first.
Trait Implementations§
impl Copy for ScoreKey
impl Eq for ScoreKey
impl StructuralPartialEq for ScoreKey
Auto Trait Implementations§
impl Freeze for ScoreKey
impl RefUnwindSafe for ScoreKey
impl Send for ScoreKey
impl Sync for ScoreKey
impl Unpin for ScoreKey
impl UnsafeUnpin for ScoreKey
impl UnwindSafe for ScoreKey
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