Struct windows::Media::Devices::MediaCaptureOptimization
#[repr(transparent)]pub struct MediaCaptureOptimization(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl MediaCaptureOptimization
impl MediaCaptureOptimization
pub const Default: Self = _
pub const Quality: Self = _
pub const Latency: Self = _
pub const Power: Self = _
pub const LatencyThenQuality: Self = _
pub const LatencyThenPower: Self = _
pub const PowerAndQuality: Self = _
Trait Implementations§
§impl Clone for MediaCaptureOptimization
impl Clone for MediaCaptureOptimization
§fn clone(&self) -> MediaCaptureOptimization
fn clone(&self) -> MediaCaptureOptimization
Returns a copy 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 more§impl Debug for MediaCaptureOptimization
impl Debug for MediaCaptureOptimization
§impl Default for MediaCaptureOptimization
impl Default for MediaCaptureOptimization
§fn default() -> MediaCaptureOptimization
fn default() -> MediaCaptureOptimization
Returns the “default value” for a type. Read more
§impl PartialEq for MediaCaptureOptimization
impl PartialEq for MediaCaptureOptimization
§fn eq(&self, other: &MediaCaptureOptimization) -> bool
fn eq(&self, other: &MediaCaptureOptimization) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MediaCaptureOptimization
impl Eq for MediaCaptureOptimization
impl StructuralPartialEq for MediaCaptureOptimization
Auto Trait Implementations§
impl Freeze for MediaCaptureOptimization
impl RefUnwindSafe for MediaCaptureOptimization
impl Send for MediaCaptureOptimization
impl Sync for MediaCaptureOptimization
impl Unpin for MediaCaptureOptimization
impl UnwindSafe for MediaCaptureOptimization
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)