#[repr(i32)]pub enum SortDirection {
None = 0,
Ascending = 1,
Descending = 2,
}
Variants§
Implementations§
Source§impl SortDirection
impl SortDirection
pub fn bits(self) -> ImGuiSortDirection
pub fn from_bits(bits: ImGuiSortDirection) -> Option<Self>
Trait Implementations§
Source§impl Clone for SortDirection
impl Clone for SortDirection
Source§fn clone(&self) -> SortDirection
fn clone(&self) -> SortDirection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SortDirection
impl Debug for SortDirection
Source§impl Ord for SortDirection
impl Ord for SortDirection
Source§fn cmp(&self, other: &SortDirection) -> Ordering
fn cmp(&self, other: &SortDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SortDirection
impl PartialEq for SortDirection
Source§impl PartialOrd for SortDirection
impl PartialOrd for SortDirection
impl Copy for SortDirection
impl Eq for SortDirection
impl StructuralPartialEq for SortDirection
Auto Trait Implementations§
impl Freeze for SortDirection
impl RefUnwindSafe for SortDirection
impl Send for SortDirection
impl Sync for SortDirection
impl Unpin for SortDirection
impl UnwindSafe for SortDirection
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