#[repr(C)]pub struct HdrMetadataEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub display_primary_red: XYColorEXT,
pub display_primary_green: XYColorEXT,
pub display_primary_blue: XYColorEXT,
pub white_point: XYColorEXT,
pub max_luminance: f32,
pub min_luminance: f32,
pub max_content_light_level: f32,
pub max_frame_average_light_level: f32,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§display_primary_red: XYColorEXT
§display_primary_green: XYColorEXT
§display_primary_blue: XYColorEXT
§white_point: XYColorEXT
§max_luminance: f32
§min_luminance: f32
§max_content_light_level: f32
§max_frame_average_light_level: f32
Implementations§
Source§impl HdrMetadataEXT
impl HdrMetadataEXT
pub fn builder<'a>() -> HdrMetadataEXTBuilder<'a>
Trait Implementations§
Source§impl Clone for HdrMetadataEXT
impl Clone for HdrMetadataEXT
Source§fn clone(&self) -> HdrMetadataEXT
fn clone(&self) -> HdrMetadataEXT
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 HdrMetadataEXT
impl Debug for HdrMetadataEXT
Source§impl Default for HdrMetadataEXT
impl Default for HdrMetadataEXT
Source§impl TaggedStructure for HdrMetadataEXT
impl TaggedStructure for HdrMetadataEXT
const STRUCTURE_TYPE: StructureType = StructureType::HDR_METADATA_EXT
impl Copy for HdrMetadataEXT
Auto Trait Implementations§
impl Freeze for HdrMetadataEXT
impl RefUnwindSafe for HdrMetadataEXT
impl !Send for HdrMetadataEXT
impl !Sync for HdrMetadataEXT
impl Unpin for HdrMetadataEXT
impl UnwindSafe for HdrMetadataEXT
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)