Struct webrtc_media::track::setting::video::Video [−][src]
pub struct Video {
pub width: Option<Width>,
pub height: Option<Height>,
pub aspect_ratio: Option<AspectRatio>,
pub frame_rate: Option<FrameRate>,
pub facing_mode: Option<FacingMode>,
pub resize_mode: Option<ResizeMode>,
}
Expand description
A video’s settings
Fields
width: Option<Width>
height: Option<Height>
aspect_ratio: Option<AspectRatio>
frame_rate: Option<FrameRate>
facing_mode: Option<FacingMode>
resize_mode: Option<ResizeMode>
Implementations
pub fn new(
width: Option<Width>,
height: Option<Height>,
aspect_ratio: Option<AspectRatio>,
frame_rate: Option<FrameRate>,
facing_mode: Option<FacingMode>,
resize_mode: Option<ResizeMode>
) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Video
impl UnwindSafe for Video
Blanket Implementations
Mutably borrows from an owned value. Read more