Struct ash::vk::definitions::PhysicalDeviceDrmPropertiesEXT
source · #[repr(C)]pub struct PhysicalDeviceDrmPropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub has_primary: Bool32,
pub has_render: Bool32,
pub primary_major: i64,
pub primary_minor: i64,
pub render_major: i64,
pub render_minor: i64,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§has_primary: Bool32
§has_render: Bool32
§primary_major: i64
§primary_minor: i64
§render_major: i64
§render_minor: i64
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceDrmPropertiesEXT<'a>
impl<'a> PhysicalDeviceDrmPropertiesEXT<'a>
pub fn has_primary(self, has_primary: bool) -> Self
pub fn has_render(self, has_render: bool) -> Self
pub fn primary_major(self, primary_major: i64) -> Self
pub fn primary_minor(self, primary_minor: i64) -> Self
pub fn render_major(self, render_major: i64) -> Self
pub fn render_minor(self, render_minor: i64) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceDrmPropertiesEXT<'a>
impl<'a> Clone for PhysicalDeviceDrmPropertiesEXT<'a>
source§fn clone(&self) -> PhysicalDeviceDrmPropertiesEXT<'a>
fn clone(&self) -> PhysicalDeviceDrmPropertiesEXT<'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 PhysicalDeviceDrmPropertiesEXT<'a>
impl<'a> Debug for PhysicalDeviceDrmPropertiesEXT<'a>
source§impl Default for PhysicalDeviceDrmPropertiesEXT<'_>
impl Default for PhysicalDeviceDrmPropertiesEXT<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceDrmPropertiesEXT<'a>
impl<'a> TaggedStructure for PhysicalDeviceDrmPropertiesEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_DRM_PROPERTIES_EXT
impl<'a> Copy for PhysicalDeviceDrmPropertiesEXT<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceDrmPropertiesEXT<'_>
impl Send for PhysicalDeviceDrmPropertiesEXT<'_>
impl Sync for PhysicalDeviceDrmPropertiesEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceDrmPropertiesEXT<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceDrmPropertiesEXT<'a>
impl<'a> Unpin for PhysicalDeviceDrmPropertiesEXT<'a>
impl<'a> UnwindSafe for PhysicalDeviceDrmPropertiesEXT<'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
)