#[repr(transparent)]pub struct SCStreamConfigurationPreset(pub NSInteger);Available on crate feature
SCStream only.Expand description
Client can use SCStreamConfigurationPreset to create SCStreamConfiguration with suggested values of properties for various use cases
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl SCStreamConfigurationPreset
impl SCStreamConfigurationPreset
pub const CaptureHDRStreamLocalDisplay: Self
pub const CaptureHDRStreamCanonicalDisplay: Self
pub const CaptureHDRScreenshotLocalDisplay: Self
pub const CaptureHDRScreenshotCanonicalDisplay: Self
pub const CaptureHDRRecordingPreservedSDRHDR10: Self
Trait Implementations§
Source§impl Clone for SCStreamConfigurationPreset
impl Clone for SCStreamConfigurationPreset
Source§fn clone(&self) -> SCStreamConfigurationPreset
fn clone(&self) -> SCStreamConfigurationPreset
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 SCStreamConfigurationPreset
impl Debug for SCStreamConfigurationPreset
Source§impl Encode for SCStreamConfigurationPreset
impl Encode for SCStreamConfigurationPreset
Source§impl Hash for SCStreamConfigurationPreset
impl Hash for SCStreamConfigurationPreset
Source§impl Ord for SCStreamConfigurationPreset
impl Ord for SCStreamConfigurationPreset
Source§fn cmp(&self, other: &SCStreamConfigurationPreset) -> Ordering
fn cmp(&self, other: &SCStreamConfigurationPreset) -> 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 PartialOrd for SCStreamConfigurationPreset
impl PartialOrd for SCStreamConfigurationPreset
Source§impl RefEncode for SCStreamConfigurationPreset
impl RefEncode for SCStreamConfigurationPreset
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 SCStreamConfigurationPreset
impl Eq for SCStreamConfigurationPreset
impl StructuralPartialEq for SCStreamConfigurationPreset
Auto Trait Implementations§
impl Freeze for SCStreamConfigurationPreset
impl RefUnwindSafe for SCStreamConfigurationPreset
impl Send for SCStreamConfigurationPreset
impl Sync for SCStreamConfigurationPreset
impl Unpin for SCStreamConfigurationPreset
impl UnwindSafe for SCStreamConfigurationPreset
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.