#[repr(C)]pub struct DisplayPlaneInfo2KHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub mode: DisplayModeKHR,
pub plane_index: u32,
}Expand description
VkDisplayPlaneInfo2KHR
Provided by VK_KHR_get_display_properties2.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR.
p_next: *const c_voidOptional, may be null.
mode: DisplayModeKHRThread safety: must be externally synchronized.
plane_index: u32Implementations§
Source§impl DisplayPlaneInfo2KHR
impl DisplayPlaneInfo2KHR
Sourcepub fn builder<'a>() -> DisplayPlaneInfo2KHRBuilder<'a>
pub fn builder<'a>() -> DisplayPlaneInfo2KHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for DisplayPlaneInfo2KHR
impl Clone for DisplayPlaneInfo2KHR
Source§fn clone(&self) -> DisplayPlaneInfo2KHR
fn clone(&self) -> DisplayPlaneInfo2KHR
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 DisplayPlaneInfo2KHR
impl Debug for DisplayPlaneInfo2KHR
Source§impl Default for DisplayPlaneInfo2KHR
impl Default for DisplayPlaneInfo2KHR
impl Copy for DisplayPlaneInfo2KHR
Auto Trait Implementations§
impl Freeze for DisplayPlaneInfo2KHR
impl RefUnwindSafe for DisplayPlaneInfo2KHR
impl !Send for DisplayPlaneInfo2KHR
impl !Sync for DisplayPlaneInfo2KHR
impl Unpin for DisplayPlaneInfo2KHR
impl UnsafeUnpin for DisplayPlaneInfo2KHR
impl UnwindSafe for DisplayPlaneInfo2KHR
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