#[repr(i64)]pub enum CFComparisonResult {
KCFCompareLessThan = -1,
KCFCompareEqualTo = 0,
KCFCompareGreaterThan = 1,
}
Expand description
Constants returned by comparison functions, indicating whether a value is equal to, less than, or greater than another value.
Variants§
KCFCompareLessThan = -1
Returned by a comparison function if the first value is less than the second value.
KCFCompareEqualTo = 0
Returned by a comparison function if the first value is equal to the second value.
KCFCompareGreaterThan = 1
Returned by a comparison function if the first value is greater than the second value.
Trait Implementations§
Source§impl Debug for CFComparisonResult
impl Debug for CFComparisonResult
Source§impl Ord for CFComparisonResult
impl Ord for CFComparisonResult
Source§fn cmp(&self, other: &CFComparisonResult) -> Ordering
fn cmp(&self, other: &CFComparisonResult) -> 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 CFComparisonResult
impl PartialEq for CFComparisonResult
Source§impl PartialOrd for CFComparisonResult
impl PartialOrd for CFComparisonResult
impl Eq for CFComparisonResult
impl StructuralPartialEq for CFComparisonResult
Auto Trait Implementations§
impl Freeze for CFComparisonResult
impl RefUnwindSafe for CFComparisonResult
impl Send for CFComparisonResult
impl Sync for CFComparisonResult
impl Unpin for CFComparisonResult
impl UnwindSafe for CFComparisonResult
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