#[non_exhaustive]pub enum IndexElementOrder {
Undefined,
Ascending,
Descending,
Unknown,
}Expand description
Sort order of an index element. Mirrors
dd::Index_element::enum_index_element_order.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl IndexElementOrder
impl IndexElementOrder
Sourcepub const fn from_raw(raw: i32) -> Self
pub const fn from_raw(raw: i32) -> Self
Map the raw order integer to an IndexElementOrder.
Trait Implementations§
Source§impl Clone for IndexElementOrder
impl Clone for IndexElementOrder
Source§fn clone(&self) -> IndexElementOrder
fn clone(&self) -> IndexElementOrder
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 moreimpl Copy for IndexElementOrder
Source§impl Debug for IndexElementOrder
impl Debug for IndexElementOrder
impl Eq for IndexElementOrder
Source§impl PartialEq for IndexElementOrder
impl PartialEq for IndexElementOrder
Source§fn eq(&self, other: &IndexElementOrder) -> bool
fn eq(&self, other: &IndexElementOrder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IndexElementOrder
Auto Trait Implementations§
impl Freeze for IndexElementOrder
impl RefUnwindSafe for IndexElementOrder
impl Send for IndexElementOrder
impl Sync for IndexElementOrder
impl Unpin for IndexElementOrder
impl UnsafeUnpin for IndexElementOrder
impl UnwindSafe for IndexElementOrder
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