pub struct MediaTrackConstraintSet {
pub width: Option<Constrain<u32>>,
pub height: Option<Constrain<u32>>,
pub aspect: Option<Constrain<f64>>,
pub frame_rate: Option<Constrain<f64>>,
pub sample_rate: Option<Constrain<u32>>,
}
Fields§
§width: Option<Constrain<u32>>
§height: Option<Constrain<u32>>
§aspect: Option<Constrain<f64>>
§frame_rate: Option<Constrain<f64>>
§sample_rate: Option<Constrain<u32>>
Trait Implementations§
source§impl Default for MediaTrackConstraintSet
impl Default for MediaTrackConstraintSet
source§fn default() -> MediaTrackConstraintSet
fn default() -> MediaTrackConstraintSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MediaTrackConstraintSet
impl RefUnwindSafe for MediaTrackConstraintSet
impl Send for MediaTrackConstraintSet
impl Sync for MediaTrackConstraintSet
impl Unpin for MediaTrackConstraintSet
impl UnwindSafe for MediaTrackConstraintSet
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