Struct webrtc_media::track::constraint::video::VideoBuilder
source · [−]pub struct VideoBuilder { /* private fields */ }
Expand description
Builder for Video
.
Implementations
sourceimpl VideoBuilder
impl VideoBuilder
pub fn width<VALUE: Into<Width>>(&mut self, value: VALUE) -> &mut Self
pub fn height<VALUE: Into<Height>>(&mut self, value: VALUE) -> &mut Self
pub fn aspect_ratio<VALUE: Into<AspectRatio>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn frame_rate<VALUE: Into<FrameRate>>(&mut self, value: VALUE) -> &mut Self
pub fn facing_mode<VALUE: Into<FacingMode>>(&mut self, value: VALUE) -> &mut Self
pub fn resize_mode<VALUE: Into<ResizeMode>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations
sourceimpl Clone for VideoBuilder
impl Clone for VideoBuilder
sourcefn clone(&self) -> VideoBuilder
fn clone(&self) -> VideoBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for VideoBuilder
impl Send for VideoBuilder
impl Sync for VideoBuilder
impl Unpin for VideoBuilder
impl UnwindSafe for VideoBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more