Struct objc2_app_kit::NSImageDynamicRange
source · #[repr(transparent)]pub struct NSImageDynamicRange(pub NSInteger);
Available on crate feature
NSImageView
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl NSImageDynamicRange
impl NSImageDynamicRange
pub const Unspecified: Self = _
pub const Standard: Self = _
pub const ConstrainedHigh: Self = _
pub const High: Self = _
Trait Implementations§
source§impl Clone for NSImageDynamicRange
impl Clone for NSImageDynamicRange
source§fn clone(&self) -> NSImageDynamicRange
fn clone(&self) -> NSImageDynamicRange
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 NSImageDynamicRange
impl Debug for NSImageDynamicRange
source§impl Encode for NSImageDynamicRange
impl Encode for NSImageDynamicRange
source§impl Hash for NSImageDynamicRange
impl Hash for NSImageDynamicRange
source§impl Ord for NSImageDynamicRange
impl Ord for NSImageDynamicRange
source§fn cmp(&self, other: &NSImageDynamicRange) -> Ordering
fn cmp(&self, other: &NSImageDynamicRange) -> 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 NSImageDynamicRange
impl PartialEq for NSImageDynamicRange
source§fn eq(&self, other: &NSImageDynamicRange) -> bool
fn eq(&self, other: &NSImageDynamicRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSImageDynamicRange
impl PartialOrd for NSImageDynamicRange
source§fn partial_cmp(&self, other: &NSImageDynamicRange) -> Option<Ordering>
fn partial_cmp(&self, other: &NSImageDynamicRange) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSImageDynamicRange
impl RefEncode for NSImageDynamicRange
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 NSImageDynamicRange
impl Eq for NSImageDynamicRange
impl StructuralPartialEq for NSImageDynamicRange
Auto Trait Implementations§
impl Freeze for NSImageDynamicRange
impl RefUnwindSafe for NSImageDynamicRange
impl Send for NSImageDynamicRange
impl Sync for NSImageDynamicRange
impl Unpin for NSImageDynamicRange
impl UnwindSafe for NSImageDynamicRange
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> 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.