#[repr(C)]pub struct PhysicalDeviceDrmPropertiesEXT {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub has_primary: u32,
pub has_render: u32,
pub primary_major: i64,
pub primary_minor: i64,
pub render_major: i64,
pub render_minor: i64,
}Expand description
VkPhysicalDeviceDrmPropertiesEXT
Provided by VK_EXT_physical_device_drm.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRM_PROPERTIES_EXT.
p_next: *mut c_voidOptional, may be null.
has_primary: u32§has_render: u32§primary_major: i64§primary_minor: i64§render_major: i64§render_minor: i64Implementations§
Source§impl PhysicalDeviceDrmPropertiesEXT
impl PhysicalDeviceDrmPropertiesEXT
Sourcepub fn builder<'a>() -> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceDrmPropertiesEXT
impl Clone for PhysicalDeviceDrmPropertiesEXT
Source§fn clone(&self) -> PhysicalDeviceDrmPropertiesEXT
fn clone(&self) -> PhysicalDeviceDrmPropertiesEXT
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 moreimpl Copy for PhysicalDeviceDrmPropertiesEXT
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceDrmPropertiesEXT
Auto Trait Implementations§
impl Freeze for PhysicalDeviceDrmPropertiesEXT
impl RefUnwindSafe for PhysicalDeviceDrmPropertiesEXT
impl !Send for PhysicalDeviceDrmPropertiesEXT
impl !Sync for PhysicalDeviceDrmPropertiesEXT
impl Unpin for PhysicalDeviceDrmPropertiesEXT
impl UnsafeUnpin for PhysicalDeviceDrmPropertiesEXT
impl UnwindSafe for PhysicalDeviceDrmPropertiesEXT
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