#[repr(transparent)]pub struct SCCaptureDynamicRange(pub NSInteger);Available on crate feature
SCStream only.Expand description
SCCaptureDynamicRange client can specify whether the captured screen output will be SDR or HDR. When SCCaptureDynamicRangeHDR is set, the output screen capture buffer pixel format and color space will be updated in order to support HDR.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl SCCaptureDynamicRange
impl SCCaptureDynamicRange
pub const SDR: Self
pub const HDRLocalDisplay: Self
pub const HDRCanonicalDisplay: Self
Trait Implementations§
Source§impl Clone for SCCaptureDynamicRange
impl Clone for SCCaptureDynamicRange
Source§fn clone(&self) -> SCCaptureDynamicRange
fn clone(&self) -> SCCaptureDynamicRange
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 SCCaptureDynamicRange
impl Debug for SCCaptureDynamicRange
Source§impl Encode for SCCaptureDynamicRange
impl Encode for SCCaptureDynamicRange
Source§impl Hash for SCCaptureDynamicRange
impl Hash for SCCaptureDynamicRange
Source§impl Ord for SCCaptureDynamicRange
impl Ord for SCCaptureDynamicRange
Source§fn cmp(&self, other: &SCCaptureDynamicRange) -> Ordering
fn cmp(&self, other: &SCCaptureDynamicRange) -> 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 SCCaptureDynamicRange
impl PartialEq for SCCaptureDynamicRange
Source§impl PartialOrd for SCCaptureDynamicRange
impl PartialOrd for SCCaptureDynamicRange
Source§impl RefEncode for SCCaptureDynamicRange
impl RefEncode for SCCaptureDynamicRange
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 SCCaptureDynamicRange
impl Eq for SCCaptureDynamicRange
impl StructuralPartialEq for SCCaptureDynamicRange
Auto Trait Implementations§
impl Freeze for SCCaptureDynamicRange
impl RefUnwindSafe for SCCaptureDynamicRange
impl Send for SCCaptureDynamicRange
impl Sync for SCCaptureDynamicRange
impl Unpin for SCCaptureDynamicRange
impl UnwindSafe for SCCaptureDynamicRange
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.