Enum webrtc_media::track::constraint::NonNumericKind
source · [−]pub enum NonNumericKind<T> {
Exists {
is_expected: bool,
},
Exactly {
value: T,
},
AnyOf {
values: Vec<T>,
ideal: Option<T>,
},
}
Variants
Exists
Fields
is_expected: bool
Exactly
AnyOf
Trait Implementations
sourceimpl<T: Clone> Clone for NonNumericKind<T>
impl<T: Clone> Clone for NonNumericKind<T>
sourcefn clone(&self) -> NonNumericKind<T>
fn clone(&self) -> NonNumericKind<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 NonNumericKind<T>
impl<T: Debug> Debug for NonNumericKind<T>
sourceimpl<T: PartialEq> PartialEq<NonNumericKind<T>> for NonNumericKind<T>
impl<T: PartialEq> PartialEq<NonNumericKind<T>> for NonNumericKind<T>
sourcefn eq(&self, other: &NonNumericKind<T>) -> bool
fn eq(&self, other: &NonNumericKind<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<T: Eq> Eq for NonNumericKind<T>
impl<T> StructuralEq for NonNumericKind<T>
impl<T> StructuralPartialEq for NonNumericKind<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for NonNumericKind<T>where
T: RefUnwindSafe,
impl<T> Send for NonNumericKind<T>where
T: Send,
impl<T> Sync for NonNumericKind<T>where
T: Sync,
impl<T> Unpin for NonNumericKind<T>where
T: Unpin,
impl<T> UnwindSafe for NonNumericKind<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