#[non_exhaustive]pub struct StreamSelectionBuilder { /* private fields */ }
Expand description
A builder for StreamSelection
.
Implementations§
source§impl StreamSelectionBuilder
impl StreamSelectionBuilder
sourcepub fn max_video_bits_per_second(self, input: i32) -> Self
pub fn max_video_bits_per_second(self, input: i32) -> Self
The maximum video bitrate (bps) to include in output.
sourcepub fn set_max_video_bits_per_second(self, input: Option<i32>) -> Self
pub fn set_max_video_bits_per_second(self, input: Option<i32>) -> Self
The maximum video bitrate (bps) to include in output.
sourcepub fn min_video_bits_per_second(self, input: i32) -> Self
pub fn min_video_bits_per_second(self, input: i32) -> Self
The minimum video bitrate (bps) to include in output.
sourcepub fn set_min_video_bits_per_second(self, input: Option<i32>) -> Self
pub fn set_min_video_bits_per_second(self, input: Option<i32>) -> Self
The minimum video bitrate (bps) to include in output.
sourcepub fn stream_order(self, input: StreamOrder) -> Self
pub fn stream_order(self, input: StreamOrder) -> Self
A directive that determines the order of streams in the output.
sourcepub fn set_stream_order(self, input: Option<StreamOrder>) -> Self
pub fn set_stream_order(self, input: Option<StreamOrder>) -> Self
A directive that determines the order of streams in the output.
sourcepub fn build(self) -> StreamSelection
pub fn build(self) -> StreamSelection
Consumes the builder and constructs a StreamSelection
.
Trait Implementations§
source§impl Clone for StreamSelectionBuilder
impl Clone for StreamSelectionBuilder
source§fn clone(&self) -> StreamSelectionBuilder
fn clone(&self) -> StreamSelectionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StreamSelectionBuilder
impl Debug for StreamSelectionBuilder
source§impl Default for StreamSelectionBuilder
impl Default for StreamSelectionBuilder
source§fn default() -> StreamSelectionBuilder
fn default() -> StreamSelectionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<StreamSelectionBuilder> for StreamSelectionBuilder
impl PartialEq<StreamSelectionBuilder> for StreamSelectionBuilder
source§fn eq(&self, other: &StreamSelectionBuilder) -> bool
fn eq(&self, other: &StreamSelectionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.