pub struct VideoTrackConstraints<C> { /* private fields */ }Expand description
MediaStreamConstraints for the video media type.
Implementations§
Source§impl VideoTrackConstraints<DeviceVideoTrackConstraints>
impl VideoTrackConstraints<DeviceVideoTrackConstraints>
Sourcepub async fn satisfies<T: AsRef<MediaStreamTrack>>(&self, track: T) -> bool
pub async fn satisfies<T: AsRef<MediaStreamTrack>>(&self, track: T) -> bool
Indicates whether the provided platform::MediaStreamTrack satisfies
these VideoTrackConstraints.
Returns false if these VideoTrackConstraints don’t have any
constraints configured.
Source§impl VideoTrackConstraints<DisplayVideoTrackConstraints>
impl VideoTrackConstraints<DisplayVideoTrackConstraints>
Sourcepub async fn satisfies<T: AsRef<MediaStreamTrack>>(&self, track: T) -> bool
pub async fn satisfies<T: AsRef<MediaStreamTrack>>(&self, track: T) -> bool
Indicates whether the provided platform::MediaStreamTrack satisfies
these VideoTrackConstraints.
Returns false if these VideoTrackConstraints don’t have any
constraints configured.
Trait Implementations§
Source§impl<C: Clone> Clone for VideoTrackConstraints<C>
impl<C: Clone> Clone for VideoTrackConstraints<C>
Source§fn clone(&self) -> VideoTrackConstraints<C>
fn clone(&self) -> VideoTrackConstraints<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Debug> Debug for VideoTrackConstraints<C>
impl<C: Debug> Debug for VideoTrackConstraints<C>
Source§impl<C: Default> Default for VideoTrackConstraints<C>
impl<C: Default> Default for VideoTrackConstraints<C>
Source§impl<C: PartialEq> PartialEq for VideoTrackConstraints<C>
impl<C: PartialEq> PartialEq for VideoTrackConstraints<C>
impl<C: Eq> Eq for VideoTrackConstraints<C>
impl<C> StructuralPartialEq for VideoTrackConstraints<C>
Auto Trait Implementations§
impl<C> Freeze for VideoTrackConstraints<C>where
C: Freeze,
impl<C> RefUnwindSafe for VideoTrackConstraints<C>where
C: RefUnwindSafe,
impl<C> Send for VideoTrackConstraints<C>where
C: Send,
impl<C> Sync for VideoTrackConstraints<C>where
C: Sync,
impl<C> Unpin for VideoTrackConstraints<C>where
C: Unpin,
impl<C> UnwindSafe for VideoTrackConstraints<C>where
C: UnwindSafe,
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