#[repr(C)]pub struct DisplayModeProperties2KHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub display_mode_properties: DisplayModePropertiesKHR,
}Expand description
VkDisplayModeProperties2KHR
Provided by VK_KHR_get_display_properties2.
Returned only*, filled by Vulkan, not constructed by the application.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR.
p_next: *mut c_voidOptional, may be null.
display_mode_properties: DisplayModePropertiesKHRImplementations§
Source§impl DisplayModeProperties2KHR
impl DisplayModeProperties2KHR
Sourcepub fn builder<'a>() -> DisplayModeProperties2KHRBuilder<'a>
pub fn builder<'a>() -> DisplayModeProperties2KHRBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for DisplayModeProperties2KHR
impl Clone for DisplayModeProperties2KHR
Source§fn clone(&self) -> DisplayModeProperties2KHR
fn clone(&self) -> DisplayModeProperties2KHR
Returns a duplicate 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 DisplayModeProperties2KHR
impl Debug for DisplayModeProperties2KHR
Source§impl Default for DisplayModeProperties2KHR
impl Default for DisplayModeProperties2KHR
impl Copy for DisplayModeProperties2KHR
Auto Trait Implementations§
impl Freeze for DisplayModeProperties2KHR
impl RefUnwindSafe for DisplayModeProperties2KHR
impl !Send for DisplayModeProperties2KHR
impl !Sync for DisplayModeProperties2KHR
impl Unpin for DisplayModeProperties2KHR
impl UnsafeUnpin for DisplayModeProperties2KHR
impl UnwindSafe for DisplayModeProperties2KHR
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