Struct ash::vk::PhysicalDeviceDriverPropertiesBuilder
source · [−]#[repr(transparent)]pub struct PhysicalDeviceDriverPropertiesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceDriverPropertiesBuilder<'a>
type Target = PhysicalDeviceDriverProperties
type Target = PhysicalDeviceDriverProperties
The resulting type after dereferencing.
sourceimpl<'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
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