#[repr(transparent)]pub struct XCTIssueSeverity(pub NSInteger);Expand description
An enum representing the severity of a test issue.
The numeric values of this enum’s cases are comparable. A case which represents
higher severity has a larger numeric value than one which represents lower
severity. Specifying a numeric severity value other than one corresponding to
a case defined below when initializing an XCTIssue is unsupported.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl XCTIssueSeverity
impl XCTIssueSeverity
Trait Implementations§
Source§impl Clone for XCTIssueSeverity
impl Clone for XCTIssueSeverity
Source§fn clone(&self) -> XCTIssueSeverity
fn clone(&self) -> XCTIssueSeverity
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 Debug for XCTIssueSeverity
impl Debug for XCTIssueSeverity
Source§impl Encode for XCTIssueSeverity
impl Encode for XCTIssueSeverity
Source§impl Hash for XCTIssueSeverity
impl Hash for XCTIssueSeverity
Source§impl Ord for XCTIssueSeverity
impl Ord for XCTIssueSeverity
Source§fn cmp(&self, other: &XCTIssueSeverity) -> Ordering
fn cmp(&self, other: &XCTIssueSeverity) -> 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 XCTIssueSeverity
impl PartialEq for XCTIssueSeverity
Source§impl PartialOrd for XCTIssueSeverity
impl PartialOrd for XCTIssueSeverity
Source§impl RefEncode for XCTIssueSeverity
impl RefEncode for XCTIssueSeverity
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 XCTIssueSeverity
impl Eq for XCTIssueSeverity
impl StructuralPartialEq for XCTIssueSeverity
Auto Trait Implementations§
impl Freeze for XCTIssueSeverity
impl RefUnwindSafe for XCTIssueSeverity
impl Send for XCTIssueSeverity
impl Sync for XCTIssueSeverity
impl Unpin for XCTIssueSeverity
impl UnwindSafe for XCTIssueSeverity
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.