#[repr(i32)]pub enum SCCaptureResolutionType {
Automatic = 0,
Best = 1,
Nominal = 2,
}Expand description
Capture resolution type for stream configuration (macOS 14.0+)
Controls how the capture resolution is determined relative to the source content.
Variants§
Automatic = 0
Automatically determines the best resolution
Best = 1
Uses the best available resolution (highest quality)
Nominal = 2
Uses the nominal resolution of the display
Trait Implementations§
Source§impl Clone for SCCaptureResolutionType
impl Clone for SCCaptureResolutionType
Source§fn clone(&self) -> SCCaptureResolutionType
fn clone(&self) -> SCCaptureResolutionType
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 SCCaptureResolutionType
impl Debug for SCCaptureResolutionType
Source§impl Default for SCCaptureResolutionType
impl Default for SCCaptureResolutionType
Source§fn default() -> SCCaptureResolutionType
fn default() -> SCCaptureResolutionType
Returns the “default value” for a type. Read more
Source§impl Display for SCCaptureResolutionType
Available on crate feature macos_14_0 only.
impl Display for SCCaptureResolutionType
Available on crate feature
macos_14_0 only.Source§impl Hash for SCCaptureResolutionType
impl Hash for SCCaptureResolutionType
Source§impl PartialEq for SCCaptureResolutionType
impl PartialEq for SCCaptureResolutionType
impl Copy for SCCaptureResolutionType
impl Eq for SCCaptureResolutionType
impl StructuralPartialEq for SCCaptureResolutionType
Auto Trait Implementations§
impl Freeze for SCCaptureResolutionType
impl RefUnwindSafe for SCCaptureResolutionType
impl Send for SCCaptureResolutionType
impl Sync for SCCaptureResolutionType
impl Unpin for SCCaptureResolutionType
impl UnwindSafe for SCCaptureResolutionType
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