pub struct ApiDisplayVideoTrackConstraints {
pub device_id: Option<String>,
pub height: Option<ConstrainU32>,
pub width: Option<ConstrainU32>,
pub frame_rate: Option<ConstrainU32>,
}Expand description
Constraints applicable to video tracks sourced from a screen capturing.
Fields§
§device_id: Option<String>Identifier of the device generating the content for the media track.
height: Option<ConstrainU32>Height of the video in pixels.
width: Option<ConstrainU32>Width of the video in pixels.
frame_rate: Option<ConstrainU32>Frame rate of the video.
Trait Implementations§
Source§impl From<ApiDisplayVideoTrackConstraints> for DisplayVideoTrackConstraints
impl From<ApiDisplayVideoTrackConstraints> for DisplayVideoTrackConstraints
Source§fn from(value: ApiDisplayVideoTrackConstraints) -> Self
fn from(value: ApiDisplayVideoTrackConstraints) -> Self
Converts to this type from the input type.
Source§impl IntoIntoDart<ApiDisplayVideoTrackConstraints> for ApiDisplayVideoTrackConstraints
impl IntoIntoDart<ApiDisplayVideoTrackConstraints> for ApiDisplayVideoTrackConstraints
fn into_into_dart(self) -> ApiDisplayVideoTrackConstraints
impl IntoDartExceptPrimitive for ApiDisplayVideoTrackConstraints
Auto Trait Implementations§
impl Freeze for ApiDisplayVideoTrackConstraints
impl RefUnwindSafe for ApiDisplayVideoTrackConstraints
impl Send for ApiDisplayVideoTrackConstraints
impl Sync for ApiDisplayVideoTrackConstraints
impl Unpin for ApiDisplayVideoTrackConstraints
impl UnwindSafe for ApiDisplayVideoTrackConstraints
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