Struct ash::vk::PhysicalDeviceDrmPropertiesEXTBuilder
source · [−]#[repr(transparent)]pub struct PhysicalDeviceDrmPropertiesEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
type Target = PhysicalDeviceDrmPropertiesEXT
type Target = PhysicalDeviceDrmPropertiesEXT
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceDrmPropertiesEXTBuilder<'_>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more