Enum SampleRatios

pub enum SampleRatios

Variants

HV
V
H
Generic(usize, usize)
None

Implementations

impl SampleRatios

fn sample(self) -> usize

Trait Implementations

impl Clone for SampleRatios

fn clone(&self) -> Self

impl Copy for SampleRatios

impl Debug for SampleRatios

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for SampleRatios

fn default() -> Self

impl Eq for SampleRatios

impl PartialEq for SampleRatios

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for SampleRatios

Auto Trait Implementations

impl Freeze for SampleRatios

impl RefUnwindSafe for SampleRatios

impl Send for SampleRatios

impl Sync for SampleRatios

impl Unpin for SampleRatios

impl UnsafeUnpin for SampleRatios

impl UnwindSafe for SampleRatios

Blanket Implementations

impl<T> Any for SampleRatios where T: 'static + ?Sized,

impl<T> Borrow<T> for SampleRatios where T: ?Sized,

impl<T> BorrowMut<T> for SampleRatios where T: ?Sized,

impl<T> CloneToUninit for SampleRatios where T: Clone,

impl<T> From<T> for SampleRatios

impl<T> ToOwned for SampleRatios where T: Clone,

impl<T, U> Into<U> for SampleRatios where U: From<T>,

impl<T, U> TryFrom<U> for SampleRatios where U: Into<T>,

impl<T, U> TryInto<U> for SampleRatios where U: TryFrom<T>,