Type Alias SanitizedMediaTrackConstraintSet

Source
pub type SanitizedMediaTrackConstraintSet = GenericMediaTrackConstraintSet<SanitizedMediaTrackConstraint>;
Expand description

Media track constraint set that contains only non-empty constraints.

Aliased Type§

pub struct SanitizedMediaTrackConstraintSet(/* private fields */);

Trait Implementations§

Source§

impl<'a> FitnessDistance<&'a MediaTrackSettings> for SanitizedMediaTrackConstraintSet

Source§

type Error = SettingsFitnessDistanceError

The type returned in the event of a computation error.
Source§

fn fitness_distance( &self, settings: &'a MediaTrackSettings, ) -> Result<f64, Self::Error>

Computes the fitness distance of the given subject in the range of 0.0..=1.0. Read more