Enum webrtc_media::track::constraint::NumericKind [−][src]
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
Fields of Exists
is_expected: bool
Fields of AtLeast
min: T
ideal: Option<T>
Fields of AtMost
max: T
ideal: Option<T>
Fields of Within
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more