#[repr(transparent)]pub struct UIScreenReferenceDisplayModeStatus(pub NSInteger);
Available on crate feature
UIScreen
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl UIScreenReferenceDisplayModeStatus
impl UIScreenReferenceDisplayModeStatus
pub const NotSupported: Self
pub const NotEnabled: Self
pub const Limited: Self
pub const Enabled: Self
Trait Implementations§
Source§impl Clone for UIScreenReferenceDisplayModeStatus
impl Clone for UIScreenReferenceDisplayModeStatus
Source§fn clone(&self) -> UIScreenReferenceDisplayModeStatus
fn clone(&self) -> UIScreenReferenceDisplayModeStatus
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 UIScreenReferenceDisplayModeStatus
impl Ord for UIScreenReferenceDisplayModeStatus
Source§fn cmp(&self, other: &UIScreenReferenceDisplayModeStatus) -> Ordering
fn cmp(&self, other: &UIScreenReferenceDisplayModeStatus) -> 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 UIScreenReferenceDisplayModeStatus
impl PartialEq for UIScreenReferenceDisplayModeStatus
Source§fn eq(&self, other: &UIScreenReferenceDisplayModeStatus) -> bool
fn eq(&self, other: &UIScreenReferenceDisplayModeStatus) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for UIScreenReferenceDisplayModeStatus
impl PartialOrd for UIScreenReferenceDisplayModeStatus
Source§impl RefEncode for UIScreenReferenceDisplayModeStatus
impl RefEncode for UIScreenReferenceDisplayModeStatus
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 UIScreenReferenceDisplayModeStatus
impl Eq for UIScreenReferenceDisplayModeStatus
impl StructuralPartialEq for UIScreenReferenceDisplayModeStatus
Auto Trait Implementations§
impl Freeze for UIScreenReferenceDisplayModeStatus
impl RefUnwindSafe for UIScreenReferenceDisplayModeStatus
impl Send for UIScreenReferenceDisplayModeStatus
impl Sync for UIScreenReferenceDisplayModeStatus
impl Unpin for UIScreenReferenceDisplayModeStatus
impl UnwindSafe for UIScreenReferenceDisplayModeStatus
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.