Struct ash::vk::DisplayPlaneInfo2KHR
source · #[repr(C)]pub struct DisplayPlaneInfo2KHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub mode: DisplayModeKHR,
pub plane_index: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§mode: DisplayModeKHR
§plane_index: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> DisplayPlaneInfo2KHR<'a>
impl<'a> DisplayPlaneInfo2KHR<'a>
pub fn mode(self, mode: DisplayModeKHR) -> Self
pub fn plane_index(self, plane_index: u32) -> Self
Trait Implementations§
source§impl<'a> Clone for DisplayPlaneInfo2KHR<'a>
impl<'a> Clone for DisplayPlaneInfo2KHR<'a>
source§fn clone(&self) -> DisplayPlaneInfo2KHR<'a>
fn clone(&self) -> DisplayPlaneInfo2KHR<'a>
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<'a> Debug for DisplayPlaneInfo2KHR<'a>
impl<'a> Debug for DisplayPlaneInfo2KHR<'a>
source§impl Default for DisplayPlaneInfo2KHR<'_>
impl Default for DisplayPlaneInfo2KHR<'_>
source§impl<'a> TaggedStructure for DisplayPlaneInfo2KHR<'a>
impl<'a> TaggedStructure for DisplayPlaneInfo2KHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::DISPLAY_PLANE_INFO_2_KHR
impl<'a> Copy for DisplayPlaneInfo2KHR<'a>
impl Send for DisplayPlaneInfo2KHR<'_>
impl Sync for DisplayPlaneInfo2KHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for DisplayPlaneInfo2KHR<'a>
impl<'a> RefUnwindSafe for DisplayPlaneInfo2KHR<'a>
impl<'a> Unpin for DisplayPlaneInfo2KHR<'a>
impl<'a> UnwindSafe for DisplayPlaneInfo2KHR<'a>
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
)