Struct erupt::extensions::ext_hdr_metadata::HdrMetadataEXTBuilder[][src]

#[repr(transparent)]pub struct HdrMetadataEXTBuilder<'a>(_, _);

Implementations

impl<'a> HdrMetadataEXTBuilder<'a>[src]

pub fn new() -> HdrMetadataEXTBuilder<'a>[src]

pub fn display_primary_red(self, display_primary_red: XYColorEXT) -> Self[src]

pub fn display_primary_green(self, display_primary_green: XYColorEXT) -> Self[src]

pub fn display_primary_blue(self, display_primary_blue: XYColorEXT) -> Self[src]

pub fn white_point(self, white_point: XYColorEXT) -> Self[src]

pub fn max_luminance(self, max_luminance: c_float) -> Self[src]

pub fn min_luminance(self, min_luminance: c_float) -> Self[src]

pub fn max_content_light_level(self, max_content_light_level: c_float) -> Self[src]

pub fn max_frame_average_light_level(
    self,
    max_frame_average_light_level: c_float
) -> Self
[src]

pub fn build(self) -> HdrMetadataEXT[src]

Discards all lifetime information. Use the Deref and DerefMut implementations if possible.

Methods from Deref<Target = HdrMetadataEXT>

Trait Implementations

impl<'a> Clone for HdrMetadataEXTBuilder<'a>[src]

impl<'a> Copy for HdrMetadataEXTBuilder<'a>[src]

impl<'a> Debug for HdrMetadataEXTBuilder<'a>[src]

impl<'a> Default for HdrMetadataEXTBuilder<'a>[src]

impl<'a> Deref for HdrMetadataEXTBuilder<'a>[src]

type Target = HdrMetadataEXT

The resulting type after dereferencing.

impl<'a> DerefMut for HdrMetadataEXTBuilder<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.