Struct medea_jason::api::dart::api::ApiDisplayVideoTrackConstraints
source · 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.
Auto Trait Implementations§
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