Struct webrtc_media::track::setting::video::VideoBuilder
source · [−]pub struct VideoBuilder { /* private fields */ }
Expand description
Builder for Video
.
Implementations
sourceimpl VideoBuilder
impl VideoBuilder
pub fn width(&mut self, value: Width) -> &mut Self
pub fn height(&mut self, value: Height) -> &mut Self
pub fn aspect_ratio(&mut self, value: AspectRatio) -> &mut Self
pub fn frame_rate(&mut self, value: FrameRate) -> &mut Self
pub fn facing_mode(&mut self, value: FacingMode) -> &mut Self
pub fn resize_mode(&mut self, value: ResizeMode) -> &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