pub struct PhysicalDeviceDriverPropertiesBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> PhysicalDeviceDriverPropertiesBuilder<'a>
pub fn driver_id(self, driver_id: DriverId) -> Self
pub fn driver_name(self, driver_name: [c_char; 256]) -> Self
pub fn driver_info(self, driver_info: [c_char; 256]) -> Self
pub fn conformance_version( self, conformance_version: ConformanceVersion, ) -> Self
Sourcepub fn build(self) -> PhysicalDeviceDriverProperties
pub fn build(self) -> PhysicalDeviceDriverProperties
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 PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceDriverPropertiesBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceDriverPropertiesBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceDriverPropertiesBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> !Send for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceDriverPropertiesBuilder<'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