pub enum MediaTrackConstraintResolutionStrategy {
BareToIdeal,
BareToExact,
}
Expand description
The strategy of a track constraint.
Variants§
BareToIdeal
Resolve bare values to ideal
constraints.
BareToExact
Resolve bare values to exact
constraints.
Trait Implementations§
Source§impl Clone for MediaTrackConstraintResolutionStrategy
impl Clone for MediaTrackConstraintResolutionStrategy
Source§fn clone(&self) -> MediaTrackConstraintResolutionStrategy
fn clone(&self) -> MediaTrackConstraintResolutionStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for MediaTrackConstraintResolutionStrategy
impl PartialEq for MediaTrackConstraintResolutionStrategy
Source§fn eq(&self, other: &MediaTrackConstraintResolutionStrategy) -> bool
fn eq(&self, other: &MediaTrackConstraintResolutionStrategy) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for MediaTrackConstraintResolutionStrategy
impl Eq for MediaTrackConstraintResolutionStrategy
impl StructuralPartialEq for MediaTrackConstraintResolutionStrategy
Auto Trait Implementations§
impl Freeze for MediaTrackConstraintResolutionStrategy
impl RefUnwindSafe for MediaTrackConstraintResolutionStrategy
impl Send for MediaTrackConstraintResolutionStrategy
impl Sync for MediaTrackConstraintResolutionStrategy
impl Unpin for MediaTrackConstraintResolutionStrategy
impl UnwindSafe for MediaTrackConstraintResolutionStrategy
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.