#[repr(transparent)]pub struct XCTPerformanceMeasurementPolarity(pub NSInteger);Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl XCTPerformanceMeasurementPolarity
impl XCTPerformanceMeasurementPolarity
Sourcepub const PrefersSmaller: Self
pub const PrefersSmaller: Self
Represents measurements where smaller values are considered “better”.
Sourcepub const Unspecified: Self
pub const Unspecified: Self
Represents measurements which do not have a meaningful polarity. Suitable for situations where neither smaller nor larger values are considered “better”.
Sourcepub const PrefersLarger: Self
pub const PrefersLarger: Self
Represents measurements where larger values are considered “better”.
Trait Implementations§
Source§impl Clone for XCTPerformanceMeasurementPolarity
impl Clone for XCTPerformanceMeasurementPolarity
Source§fn clone(&self) -> XCTPerformanceMeasurementPolarity
fn clone(&self) -> XCTPerformanceMeasurementPolarity
Returns a duplicate 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 Ord for XCTPerformanceMeasurementPolarity
impl Ord for XCTPerformanceMeasurementPolarity
Source§fn cmp(&self, other: &XCTPerformanceMeasurementPolarity) -> Ordering
fn cmp(&self, other: &XCTPerformanceMeasurementPolarity) -> 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 XCTPerformanceMeasurementPolarity
impl PartialEq for XCTPerformanceMeasurementPolarity
Source§fn eq(&self, other: &XCTPerformanceMeasurementPolarity) -> bool
fn eq(&self, other: &XCTPerformanceMeasurementPolarity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for XCTPerformanceMeasurementPolarity
impl PartialOrd for XCTPerformanceMeasurementPolarity
Source§impl RefEncode for XCTPerformanceMeasurementPolarity
impl RefEncode for XCTPerformanceMeasurementPolarity
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for XCTPerformanceMeasurementPolarity
impl Eq for XCTPerformanceMeasurementPolarity
impl StructuralPartialEq for XCTPerformanceMeasurementPolarity
Auto Trait Implementations§
impl Freeze for XCTPerformanceMeasurementPolarity
impl RefUnwindSafe for XCTPerformanceMeasurementPolarity
impl Send for XCTPerformanceMeasurementPolarity
impl Sync for XCTPerformanceMeasurementPolarity
impl Unpin for XCTPerformanceMeasurementPolarity
impl UnwindSafe for XCTPerformanceMeasurementPolarity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.