Enum webrtc_media::track::constraint::NumericKind
source · [−]pub enum NumericKind<T> {
Exists {
is_expected: bool,
},
Exactly {
value: T,
},
AtLeast {
min: T,
ideal: Option<T>,
},
AtMost {
max: T,
ideal: Option<T>,
},
Within {
min: T,
max: T,
ideal: Option<T>,
},
}
Variants
Exists
Fields
is_expected: bool
Exactly
AtLeast
AtMost
Within
Trait Implementations
sourceimpl<T: Clone> Clone for NumericKind<T>
impl<T: Clone> Clone for NumericKind<T>
sourcefn clone(&self) -> NumericKind<T>
fn clone(&self) -> NumericKind<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug> Debug for NumericKind<T>
impl<T: Debug> Debug for NumericKind<T>
sourceimpl<T: PartialEq> PartialEq<NumericKind<T>> for NumericKind<T>
impl<T: PartialEq> PartialEq<NumericKind<T>> for NumericKind<T>
sourcefn eq(&self, other: &NumericKind<T>) -> bool
fn eq(&self, other: &NumericKind<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<T: Eq> Eq for NumericKind<T>
impl<T> StructuralEq for NumericKind<T>
impl<T> StructuralPartialEq for NumericKind<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for NumericKind<T>where
T: RefUnwindSafe,
impl<T> Send for NumericKind<T>where
T: Send,
impl<T> Sync for NumericKind<T>where
T: Sync,
impl<T> Unpin for NumericKind<T>where
T: Unpin,
impl<T> UnwindSafe for NumericKind<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more