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: StructureTypep_next: *const c_voiddisplay_primary_red: XYColorEXTdisplay_primary_green: XYColorEXTdisplay_primary_blue: XYColorEXTwhite_point: XYColorEXTmax_luminance: f32min_luminance: f32max_content_light_level: f32max_frame_average_light_level: f32Implementations
sourceimpl HdrMetadataEXT
impl HdrMetadataEXT
pub fn builder<'a>() -> HdrMetadataEXTBuilder<'a>
Trait Implementations
sourceimpl Clone for HdrMetadataEXT
impl Clone for HdrMetadataEXT
sourcefn clone(&self) -> HdrMetadataEXT
fn clone(&self) -> HdrMetadataEXT
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for HdrMetadataEXT
impl Debug for HdrMetadataEXT
sourceimpl Default for HdrMetadataEXT
impl Default for HdrMetadataEXT
impl Copy for HdrMetadataEXT
Auto Trait Implementations
impl RefUnwindSafe for HdrMetadataEXT
impl !Send for HdrMetadataEXT
impl !Sync for HdrMetadataEXT
impl Unpin for HdrMetadataEXT
impl UnwindSafe for HdrMetadataEXT
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more