Enum OversamplingFactor
pub enum OversamplingFactor {
X1 = 1,
X2 = 2,
X4 = 4,
}Expand description
Oversampling factor.
Variants§
X1 = 1
No oversampling (1x). Cheapest, most aliasing.
X2 = 2
2x oversampling. Good balance of quality and CPU.
X4 = 4
4x oversampling. High quality, higher CPU cost.
Implementations§
§impl OversamplingFactor
impl OversamplingFactor
Trait Implementations§
§impl Clone for OversamplingFactor
impl Clone for OversamplingFactor
§fn clone(&self) -> OversamplingFactor
fn clone(&self) -> OversamplingFactor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OversamplingFactor
§impl Debug for OversamplingFactor
impl Debug for OversamplingFactor
impl Eq for OversamplingFactor
§impl PartialEq for OversamplingFactor
impl PartialEq for OversamplingFactor
§fn eq(&self, other: &OversamplingFactor) -> bool
fn eq(&self, other: &OversamplingFactor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OversamplingFactor
Auto Trait Implementations§
impl Freeze for OversamplingFactor
impl RefUnwindSafe for OversamplingFactor
impl Send for OversamplingFactor
impl Sync for OversamplingFactor
impl Unpin for OversamplingFactor
impl UnsafeUnpin for OversamplingFactor
impl UnwindSafe for OversamplingFactor
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.