#[non_exhaustive]pub struct DolbyVisionLevel6MetadataBuilder { /* private fields */ }
Expand description
A builder for DolbyVisionLevel6Metadata
.
Implementations§
source§impl DolbyVisionLevel6MetadataBuilder
impl DolbyVisionLevel6MetadataBuilder
sourcepub fn max_cll(self, input: i32) -> Self
pub fn max_cll(self, input: i32) -> Self
Maximum Content Light Level. Static HDR metadata that corresponds to the brightest pixel in the entire stream. Measured in nits.
sourcepub fn set_max_cll(self, input: Option<i32>) -> Self
pub fn set_max_cll(self, input: Option<i32>) -> Self
Maximum Content Light Level. Static HDR metadata that corresponds to the brightest pixel in the entire stream. Measured in nits.
sourcepub fn get_max_cll(&self) -> &Option<i32>
pub fn get_max_cll(&self) -> &Option<i32>
Maximum Content Light Level. Static HDR metadata that corresponds to the brightest pixel in the entire stream. Measured in nits.
sourcepub fn max_fall(self, input: i32) -> Self
pub fn max_fall(self, input: i32) -> Self
Maximum Frame-Average Light Level. Static HDR metadata that corresponds to the highest frame-average brightness in the entire stream. Measured in nits.
sourcepub fn set_max_fall(self, input: Option<i32>) -> Self
pub fn set_max_fall(self, input: Option<i32>) -> Self
Maximum Frame-Average Light Level. Static HDR metadata that corresponds to the highest frame-average brightness in the entire stream. Measured in nits.
sourcepub fn get_max_fall(&self) -> &Option<i32>
pub fn get_max_fall(&self) -> &Option<i32>
Maximum Frame-Average Light Level. Static HDR metadata that corresponds to the highest frame-average brightness in the entire stream. Measured in nits.
sourcepub fn build(self) -> DolbyVisionLevel6Metadata
pub fn build(self) -> DolbyVisionLevel6Metadata
Consumes the builder and constructs a DolbyVisionLevel6Metadata
.
Trait Implementations§
source§impl Clone for DolbyVisionLevel6MetadataBuilder
impl Clone for DolbyVisionLevel6MetadataBuilder
source§fn clone(&self) -> DolbyVisionLevel6MetadataBuilder
fn clone(&self) -> DolbyVisionLevel6MetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DolbyVisionLevel6MetadataBuilder
impl Default for DolbyVisionLevel6MetadataBuilder
source§fn default() -> DolbyVisionLevel6MetadataBuilder
fn default() -> DolbyVisionLevel6MetadataBuilder
source§impl PartialEq for DolbyVisionLevel6MetadataBuilder
impl PartialEq for DolbyVisionLevel6MetadataBuilder
source§fn eq(&self, other: &DolbyVisionLevel6MetadataBuilder) -> bool
fn eq(&self, other: &DolbyVisionLevel6MetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DolbyVisionLevel6MetadataBuilder
Auto Trait Implementations§
impl Freeze for DolbyVisionLevel6MetadataBuilder
impl RefUnwindSafe for DolbyVisionLevel6MetadataBuilder
impl Send for DolbyVisionLevel6MetadataBuilder
impl Sync for DolbyVisionLevel6MetadataBuilder
impl Unpin for DolbyVisionLevel6MetadataBuilder
impl UnwindSafe for DolbyVisionLevel6MetadataBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more