Struct ash::vk::PhysicalDeviceDrmPropertiesEXTBuilder
source · pub struct PhysicalDeviceDrmPropertiesEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> PhysicalDeviceDrmPropertiesEXTBuilder<'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
sourcepub fn build(self) -> PhysicalDeviceDrmPropertiesEXT
pub fn build(self) -> PhysicalDeviceDrmPropertiesEXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
source§impl<'a> DerefMut for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceDrmPropertiesEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> !Send for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> !Sync for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> Unpin for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceDrmPropertiesEXTBuilder<'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