pub struct HdrMetadataEXTBuilder<'a> { /* private fields */ }Expand description
Builder for HdrMetadataEXT with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> HdrMetadataEXTBuilder<'a>
impl<'a> HdrMetadataEXTBuilder<'a>
pub fn display_primary_red(self, value: XYColorEXT) -> Self
pub fn display_primary_green(self, value: XYColorEXT) -> Self
pub fn display_primary_blue(self, value: XYColorEXT) -> Self
pub fn white_point(self, value: XYColorEXT) -> Self
pub fn max_luminance(self, value: f32) -> Self
pub fn min_luminance(self, value: f32) -> Self
pub fn max_content_light_level(self, value: f32) -> Self
pub fn max_frame_average_light_level(self, value: f32) -> Self
Sourcepub fn push_next<T: ExtendsHdrMetadataEXT>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsHdrMetadataEXT>(self, next: &'a mut T) -> Self
Prepend a struct to the pNext chain. See HdrMetadataEXT’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for HdrMetadataEXTBuilder<'a>
impl<'a> Deref for HdrMetadataEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for HdrMetadataEXTBuilder<'a>
impl<'a> RefUnwindSafe for HdrMetadataEXTBuilder<'a>
impl<'a> !Send for HdrMetadataEXTBuilder<'a>
impl<'a> !Sync for HdrMetadataEXTBuilder<'a>
impl<'a> Unpin for HdrMetadataEXTBuilder<'a>
impl<'a> UnsafeUnpin for HdrMetadataEXTBuilder<'a>
impl<'a> UnwindSafe for HdrMetadataEXTBuilder<'a>
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