pub struct ContentLightLevel { /* private fields */ }Expand description
HDR10 content light level (AV_FRAME_DATA_CONTENT_LIGHT_LEVEL).
Implementations§
Source§impl ContentLightLevel
impl ContentLightLevel
Sourcepub const fn with_max_cll(self, value: u32) -> Self
pub const fn with_max_cll(self, value: u32) -> Self
Sets max_cll (consuming builder).
Sourcepub const fn with_max_fall(self, value: u32) -> Self
pub const fn with_max_fall(self, value: u32) -> Self
Sets max_fall (consuming builder).
Sourcepub const fn set_max_cll(&mut self, value: u32) -> &mut Self
pub const fn set_max_cll(&mut self, value: u32) -> &mut Self
Sets max_cll in place.
Sourcepub const fn set_max_fall(&mut self, value: u32) -> &mut Self
pub const fn set_max_fall(&mut self, value: u32) -> &mut Self
Sets max_fall in place.
Trait Implementations§
Source§impl Clone for ContentLightLevel
impl Clone for ContentLightLevel
Source§fn clone(&self) -> ContentLightLevel
fn clone(&self) -> ContentLightLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContentLightLevel
impl Debug for ContentLightLevel
Source§impl Default for ContentLightLevel
impl Default for ContentLightLevel
Source§fn default() -> ContentLightLevel
fn default() -> ContentLightLevel
Returns the “default value” for a type. Read more
Source§impl Hash for ContentLightLevel
impl Hash for ContentLightLevel
Source§impl PartialEq for ContentLightLevel
impl PartialEq for ContentLightLevel
Source§fn eq(&self, other: &ContentLightLevel) -> bool
fn eq(&self, other: &ContentLightLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ContentLightLevel
impl Eq for ContentLightLevel
impl StructuralPartialEq for ContentLightLevel
Auto Trait Implementations§
impl Freeze for ContentLightLevel
impl RefUnwindSafe for ContentLightLevel
impl Send for ContentLightLevel
impl Sync for ContentLightLevel
impl Unpin for ContentLightLevel
impl UnsafeUnpin for ContentLightLevel
impl UnwindSafe for ContentLightLevel
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
Mutably borrows from an owned value. Read more