pub struct PhysicalDeviceDrmPropertiesEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
impl<'a> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
pub fn has_primary( self, has_primary: bool ) -> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
pub fn has_render( self, has_render: bool ) -> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
pub fn primary_major( self, primary_major: i64 ) -> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
pub fn primary_minor( self, primary_minor: i64 ) -> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
pub fn render_major( self, render_major: i64 ) -> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
pub fn render_minor( self, render_minor: i64 ) -> PhysicalDeviceDrmPropertiesEXTBuilder<'a>
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>
§type Target = PhysicalDeviceDrmPropertiesEXT
type Target = PhysicalDeviceDrmPropertiesEXT
The resulting type after dereferencing.
source§impl<'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§
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