#[repr(transparent)]pub struct AVDisplayDynamicRange(pub NSInteger);Available on crate feature
AVKitTypes only.Expand description
Describes how High Dynamic Range (HDR) video content renders.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVDisplayDynamicRange
impl AVDisplayDynamicRange
Sourcepub const Automatic: Self
pub const Automatic: Self
Defines an automatic dynamic range. Indicates that the dynamic range will be set automatically.
Sourcepub const Standard: Self
pub const Standard: Self
Defines a standard dynamic range. Restricts the video content dynamic range to the standard range regardless of the actual range of the video content.
Sourcepub const ConstrainedHigh: Self
pub const ConstrainedHigh: Self
Defines a constrained high dynamic range. Allows for constrained High Dynamic Range (HDR) video content which is useful for mixing HDR and Standard Dynamic Range (SDR) content.
Trait Implementations§
Source§impl Clone for AVDisplayDynamicRange
impl Clone for AVDisplayDynamicRange
Source§fn clone(&self) -> AVDisplayDynamicRange
fn clone(&self) -> AVDisplayDynamicRange
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 AVDisplayDynamicRange
impl Debug for AVDisplayDynamicRange
Source§impl Encode for AVDisplayDynamicRange
impl Encode for AVDisplayDynamicRange
Source§impl Hash for AVDisplayDynamicRange
impl Hash for AVDisplayDynamicRange
Source§impl Ord for AVDisplayDynamicRange
impl Ord for AVDisplayDynamicRange
Source§fn cmp(&self, other: &AVDisplayDynamicRange) -> Ordering
fn cmp(&self, other: &AVDisplayDynamicRange) -> 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 AVDisplayDynamicRange
impl PartialEq for AVDisplayDynamicRange
Source§impl PartialOrd for AVDisplayDynamicRange
impl PartialOrd for AVDisplayDynamicRange
Source§impl RefEncode for AVDisplayDynamicRange
impl RefEncode for AVDisplayDynamicRange
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 AVDisplayDynamicRange
impl Eq for AVDisplayDynamicRange
impl StructuralPartialEq for AVDisplayDynamicRange
Auto Trait Implementations§
impl Freeze for AVDisplayDynamicRange
impl RefUnwindSafe for AVDisplayDynamicRange
impl Send for AVDisplayDynamicRange
impl Sync for AVDisplayDynamicRange
impl Unpin for AVDisplayDynamicRange
impl UnwindSafe for AVDisplayDynamicRange
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.