Struct ash::vk::PhysicalDeviceDriverPropertiesBuilder
source · 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> 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