pub enum PerformanceMode {
None = 10,
PowerSaving = 11,
LowLatency = 12,
}Variants§
None = 10
No particular performance needs. Default.
PowerSaving = 11
Extending battery life is more important than low latency.
This mode is not supported in input streams. For input, mode NONE will be used if this is requested.
LowLatency = 12
Reducing latency is more important than battery life.
Trait Implementations§
Source§impl Clone for PerformanceMode
impl Clone for PerformanceMode
Source§fn clone(&self) -> PerformanceMode
fn clone(&self) -> PerformanceMode
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 PerformanceMode
impl Debug for PerformanceMode
Source§impl PartialEq for PerformanceMode
impl PartialEq for PerformanceMode
impl Copy for PerformanceMode
impl Eq for PerformanceMode
impl StructuralPartialEq for PerformanceMode
Auto Trait Implementations§
impl Freeze for PerformanceMode
impl RefUnwindSafe for PerformanceMode
impl Send for PerformanceMode
impl Sync for PerformanceMode
impl Unpin for PerformanceMode
impl UnwindSafe for PerformanceMode
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