pub enum RowCompareKind {
Less,
LessEqual,
GreaterEqual,
Greater,
}Expand description
The comparison of a RowCompare, as rctype.
Variants§
Implementations§
Source§impl RowCompareKind
impl RowCompareKind
Sourcepub fn of_strategy(strategy: u32) -> Option<RowCompareKind>
pub fn of_strategy(strategy: u32) -> Option<RowCompareKind>
The kind of a btree strategy number, or None for = and the numbers that are not a strategy.
Sourcepub fn test(self, order: i32) -> bool
pub fn test(self, order: i32) -> bool
The result of the comparison for the result of a btree comparison function: below 0, 0 or above 0.
Sourcepub fn of_name(name: &str) -> Option<RowCompareKind>
pub fn of_name(name: &str) -> Option<RowCompareKind>
The kind with this name, as RowCompareKind::name gives it.
Trait Implementations§
Source§impl Clone for RowCompareKind
impl Clone for RowCompareKind
impl Copy for RowCompareKind
Source§impl Debug for RowCompareKind
impl Debug for RowCompareKind
impl Eq for RowCompareKind
Source§impl PartialEq for RowCompareKind
impl PartialEq for RowCompareKind
impl StructuralPartialEq for RowCompareKind
Auto Trait Implementations§
impl Freeze for RowCompareKind
impl RefUnwindSafe for RowCompareKind
impl Send for RowCompareKind
impl Sync for RowCompareKind
impl Unpin for RowCompareKind
impl UnsafeUnpin for RowCompareKind
impl UnwindSafe for RowCompareKind
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