#[repr(transparent)]pub struct AVCaptureColorSpace(pub NSInteger);
Available on crate feature
AVCaptureDevice
only.Expand description
Constants indicating active or supported video color space.
The sRGB color space ( https://www.w3.org/Graphics/Color/srgb )
The P3 D65 wide color space which uses Illuminant D65 as the white point.
The BT2020 wide color space which uses Illuminant D65 as the white point and Hybrid Log-Gamma as the transfer function.
The Apple Log Color space, which uses BT2020 as the color primaries, and an Apple defined Log curve as a transfer function. When this is set as the active color space on an AVCaptureDevice, any AVCapturePhotoOutput or AVCaptureStillImageOutput connected to the same AVCaptureDevice will have its video connection disabled.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Trait Implementations§
Source§impl Clone for AVCaptureColorSpace
impl Clone for AVCaptureColorSpace
Source§fn clone(&self) -> AVCaptureColorSpace
fn clone(&self) -> AVCaptureColorSpace
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 AVCaptureColorSpace
impl Debug for AVCaptureColorSpace
Source§impl Encode for AVCaptureColorSpace
impl Encode for AVCaptureColorSpace
Source§impl Hash for AVCaptureColorSpace
impl Hash for AVCaptureColorSpace
Source§impl Ord for AVCaptureColorSpace
impl Ord for AVCaptureColorSpace
Source§fn cmp(&self, other: &AVCaptureColorSpace) -> Ordering
fn cmp(&self, other: &AVCaptureColorSpace) -> 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 AVCaptureColorSpace
impl PartialEq for AVCaptureColorSpace
Source§impl PartialOrd for AVCaptureColorSpace
impl PartialOrd for AVCaptureColorSpace
Source§impl RefEncode for AVCaptureColorSpace
impl RefEncode for AVCaptureColorSpace
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 AVCaptureColorSpace
impl Eq for AVCaptureColorSpace
impl StructuralPartialEq for AVCaptureColorSpace
Auto Trait Implementations§
impl Freeze for AVCaptureColorSpace
impl RefUnwindSafe for AVCaptureColorSpace
impl Send for AVCaptureColorSpace
impl Sync for AVCaptureColorSpace
impl Unpin for AVCaptureColorSpace
impl UnwindSafe for AVCaptureColorSpace
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.