Struct ash::vk::HdrMetadataEXT
source · #[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